fixed handling key event actions by global animations in level editor
[rocksndiamonds.git] / src / editor.c
index 312f0395ee3b447700f6c1fa9f7739c2a2234a37..8f453e2c3f7d85605a5c3261f8fdca207adf0d15 100644 (file)
@@ -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;