projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd0a11c
)
fixed handling key event actions by global animations in level editor
author
Holger Schemel
<info@artsoft.org>
Sat, 16 Mar 2019 10:01:19 +0000
(11:01 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 16 Mar 2019 10:02:57 +0000
(11:02 +0100)
src/editor.c
patch
|
blob
|
history
diff --git
a/src/editor.c
b/src/editor.c
index 312f0395ee3b447700f6c1fa9f7739c2a2234a37..8f453e2c3f7d85605a5c3261f8fdca207adf0d15 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-14085,7
+14085,7
@@
void HandleLevelEditorKeyInput(Key key)
else if (key == KSYM_Escape)
DrawLevelText(0, 0, 0, TEXT_END);
}
- else
if (button_status == MB_RELEASED)
+ else
{
int id = GADGET_ID_NONE;
int new_element_shift = element_shift;