mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 18:00:26 +00:00
[devmode] F1 key switches the renderer only when pressed w/o modifiers
This commit is contained in:
parent
0958573cac
commit
bfe4669c0e
@ -2033,7 +2033,7 @@ bool Editor::onProcessMessage(Message* msg)
|
||||
case kKeyDownMessage:
|
||||
#if ENABLE_DEVMODE
|
||||
// Switch renderer
|
||||
if (!msg->ctrlPressed() &&
|
||||
if (msg->modifiers() == 0 &&
|
||||
static_cast<KeyMessage*>(msg)->scancode() == kKeyF1) {
|
||||
// TODO replace this experimental flag with a new enum (or
|
||||
// maybe there is no need for user option now that the
|
||||
|
Loading…
Reference in New Issue
Block a user