mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Misc cleanups relating to ScopedPointer
This commit is contained in:
parent
edea094d7d
commit
3ec5c17bb1
13 changed files with 44 additions and 38 deletions
|
|
@ -41,7 +41,7 @@ struct TextEditorKeyMapper
|
|||
*/
|
||||
static bool invokeKeyFunction (CallbackClass& target, const KeyPress& key)
|
||||
{
|
||||
const ModifierKeys& mods = key.getModifiers();
|
||||
auto mods = key.getModifiers();
|
||||
|
||||
const bool isShiftDown = mods.isShiftDown();
|
||||
const bool ctrlOrAltDown = mods.isCtrlDown() || mods.isAltDown();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue