You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
command palette improvements
This commit is contained in:
@@ -43,7 +43,7 @@ Ref<InputEvent> Shortcut::get_event() const {
|
||||
|
||||
bool Shortcut::matches_event(const Ref<InputEvent> &p_event) const {
|
||||
Ref<InputEventShortcut> ies = p_event;
|
||||
if (ies != nullptr) {
|
||||
if (ies.is_valid()) {
|
||||
if (ies->get_shortcut().ptr() == this) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user