summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-24 12:58:24 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-24 13:07:23 +0200
commit3706fcce55b5cc8c27def44eeedd1b293097384d (patch)
treed0fb7d1da760c4158c50ffdc0c0d61a549a92837 /editor
parent7b61abef4662560924265357fbe8c4d50ecd389c (diff)
a
Diffstat (limited to 'editor')
-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 = {};