mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-23 04:20:56 +00:00
Cmd+mnemonic on macOS now can press a button
This commit is contained in:
parent
701170d85e
commit
74248cf33c
@ -100,7 +100,7 @@ bool ButtonBase::onProcessMessage(Message* msg)
|
||||
// If the button is enabled.
|
||||
if (isEnabled()) {
|
||||
bool mnemonicPressed =
|
||||
(msg->altPressed() &&
|
||||
((msg->altPressed() || msg->cmdPressed()) &&
|
||||
mnemonicCharPressed(keymsg));
|
||||
|
||||
// For kButtonWidget
|
||||
|
Loading…
x
Reference in New Issue
Block a user