mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
parent
f09113af53
commit
3c386160cd
1 changed files with 1 additions and 1 deletions
|
|
@ -620,7 +620,7 @@ bool Button::keyStateChanged (Component*)
|
|||
|
||||
bool Button::keyPressed (const KeyPress&, Component*)
|
||||
{
|
||||
// return true to avoid forwarding events for keys that we're using as shortcuts
|
||||
// returning true will avoid forwarding events for keys that we're using as shortcuts
|
||||
return isShortcutPressed();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue