mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 10:20:48 +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 the button is enabled.
|
||||||
if (isEnabled()) {
|
if (isEnabled()) {
|
||||||
bool mnemonicPressed =
|
bool mnemonicPressed =
|
||||||
(msg->altPressed() &&
|
((msg->altPressed() || msg->cmdPressed()) &&
|
||||||
mnemonicCharPressed(keymsg));
|
mnemonicCharPressed(keymsg));
|
||||||
|
|
||||||
// For kButtonWidget
|
// For kButtonWidget
|
||||||
|
Loading…
x
Reference in New Issue
Block a user