summaryrefslogtreecommitdiffhomepage
path: root/editor/events.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-15 12:56:25 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-15 12:56:25 +0100
commite850be48828ce9cf4767b88707495257c98e88b0 (patch)
tree9428226b825611a0b1ad8920dc3b12e5995f11bb /editor/events.cpp
parent9a231ffd8bd35108092d218c834544657bfb5986 (diff)
b
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 8eb99677..77d9db11 100644
--- a/editor/events.cpp
+++ b/editor/events.cpp
@@ -49,7 +49,7 @@ void app::clear_keys(key min_inclusive, key max_exclusive)
void app::clear_keys()
{
keys_->reset();
- key_modifiers = {};
+ key_modifiers = StaticArray<key_COUNT, int>{ValueInit};
}
void app::on_mouse_move(const mouse_move_event& event) noexcept