mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 09:23:32 +00:00
Fix problem in PopupFrame::onProcessMessage() where key-pressed events
are lost when the popup frame is focused.
This commit is contained in:
parent
96d263f50e
commit
c2881f24c9
@ -103,8 +103,9 @@ bool PopupFrame::onProcessMessage(Message* msg)
|
||||
msg->key.scancode == KEY_ENTER ||
|
||||
msg->key.scancode == KEY_ENTER_PAD)) {
|
||||
closeWindow(NULL);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
||||
case JM_BUTTONPRESSED:
|
||||
// If the user click outside the window, we have to close the
|
||||
|
Loading…
Reference in New Issue
Block a user