mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Return result of ComponentPeer::handleKeyPress() in doAppCommand() to prevent JUCE apps always consuming media keys
This commit is contained in:
parent
5250dc815d
commit
4a09440222
1 changed files with 1 additions and 4 deletions
|
|
@ -3176,10 +3176,7 @@ private:
|
|||
updateKeyModifiers();
|
||||
|
||||
if (hwnd == GetActiveWindow())
|
||||
{
|
||||
handleKeyPress (key, 0);
|
||||
return true;
|
||||
}
|
||||
return handleKeyPress (key, 0);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue