projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41b98d9
)
fixed sending key release events to animation event handling
author
Holger Schemel
<info@artsoft.org>
Tue, 13 Jun 2023 21:24:52 +0000
(23:24 +0200)
committer
Holger Schemel
<info@artsoft.org>
Tue, 13 Jun 2023 21:26:16 +0000
(23:26 +0200)
src/events.c
patch
|
blob
|
history
diff --git
a/src/events.c
b/src/events.c
index 648b035f0a9e1702dfa22fc5cfe30aed15fdca4e..d9ba05860c5c30011bd6591314127116e1766af6 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-2204,6
+2204,9
@@
void HandleKey(Key key, int key_status)
// reset flag to ignore repeated "key pressed" events after key release
ignore_repeated_key = FALSE;
+ // send key release event to global animation event handling
+ HandleGlobalAnimClicks(-1, -1, KEY_RELEASED, FALSE);
+
return;
}