mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-09 20:39:37 +01:00
Compare as boolean.
This commit is contained in:
parent
38ff41c893
commit
f0ac767970
@ -112,7 +112,7 @@ void PaintWindow::_input(const Ref<InputEvent> &event) {
|
||||
|
||||
Ref<InputEventKey> iek = event;
|
||||
|
||||
if (iek.is_valid() && iek->is_pressed() & !iek->is_echo()) {
|
||||
if (iek.is_valid() && iek->is_pressed() && !iek->is_echo()) {
|
||||
_handle_shortcuts(iek->get_scancode());
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user