diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-12 00:45:45 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-12 00:59:07 +0100 |
commit | 692edd513bce851a988b0f04209adc480e48fe1f (patch) | |
tree | 5dac466dd3e8da8a7f943d1bc4df0848a1bea8b5 /editor/events.cpp | |
parent | 1a84f009b39c070a8d4f4931e2376936190a161e (diff) |
cc
Diffstat (limited to 'editor/events.cpp')
-rw-r--r-- | editor/events.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/events.cpp b/editor/events.cpp index 94a8f94f..59507ccf 100644 --- a/editor/events.cpp +++ b/editor/events.cpp @@ -174,7 +174,8 @@ void app::clear_non_repeated_keys() { clear_keys(key_NO_REPEAT, key_COUNT); } void app::on_key_up_down(const key_event& event, bool is_down) noexcept { using KeyEvent = Platform::Sdl2Application::KeyEvent; - struct Ev final { + struct Ev + { using Key = KeyEvent::Key; using Modifier = KeyEvent::Modifier; using Modifiers = KeyEvent::Modifiers; |