summaryrefslogtreecommitdiffhomepage
path: root/editor/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/events.cpp')
-rw-r--r--editor/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/events.cpp b/editor/events.cpp
index 7f7561b0..1df7163b 100644
--- a/editor/events.cpp
+++ b/editor/events.cpp
@@ -101,7 +101,7 @@ void app::on_key_up_down(const floormat::key_event& event, bool is_down) noexcep
case SDLK_ESCAPE: return key::quit;
});
if (x != key::COUNT)
- _keys[x] = is_down && !event.is_repeated;
+ _keys[x] = is_down;
}
else
_keys = {};