summaryrefslogtreecommitdiffhomepage
path: root/main/keyboard.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-15 11:40:19 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-15 11:40:19 +0200
commit4e77740facb23e1c392f180381ccb5446d445724 (patch)
treed629c4d2960546dab2ed759d756674533baac536 /main/keyboard.cpp
parenta99c6ebd1c24e3f645e2c07591cfcfa97a162a6b (diff)
a
Diffstat (limited to 'main/keyboard.cpp')
-rw-r--r--main/keyboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/keyboard.cpp b/main/keyboard.cpp
index 041af2c8..66dafa7e 100644
--- a/main/keyboard.cpp
+++ b/main/keyboard.cpp
@@ -42,7 +42,7 @@ void app::keyPressEvent(Platform::Sdl2Application::KeyEvent& event)
void app::keyReleaseEvent(Platform::Sdl2Application::KeyEvent& event)
{
if (_imgui.handleKeyReleaseEvent(event))
- return event.setAccepted();
+ return keys = {}, event.setAccepted();
do_key(event.key(), event.modifiers(), false, false);
}