Browse Source
Merge branch 'master' into feature/TextAlignmentJutify
pull/8347/head
Benedikt Stebner
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
1 deletions
-
native/Avalonia.Native/src/OSX/AvnView.mm
|
|
|
@ -439,7 +439,12 @@ |
|
|
|
|
|
|
|
if(_parent != nullptr) |
|
|
|
{ |
|
|
|
_lastKeyHandled = _parent->BaseEvents->RawKeyEvent(type, timestamp, modifiers, key); |
|
|
|
auto handled = _parent->BaseEvents->RawKeyEvent(type, timestamp, modifiers, key); |
|
|
|
if (key != LeftCtrl && key != RightCtrl) { |
|
|
|
_lastKeyHandled = handled; |
|
|
|
} else { |
|
|
|
_lastKeyHandled = false; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|