1
0
mirror of https://github.com/aseprite/aseprite.git synced 2025-03-26 17:37:07 +00:00

Cmd+mnemonic on macOS now can press a button

This commit is contained in:
David Capello 2016-11-24 19:26:52 -03:00
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