Browse Source
Merge pull request #7006 from gabornemeth/issue/6677-macos
fix stuck tooltips on macOS
pull/7016/head
Dan Walmsley
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
native/Avalonia.Native/src/OSX/window.mm
|
|
|
@ -1494,7 +1494,7 @@ NSArray* AllLoopModes = [NSArray arrayWithObjects: NSDefaultRunLoopMode, NSEvent |
|
|
|
NSRect rect = NSZeroRect; |
|
|
|
rect.size = newSize; |
|
|
|
|
|
|
|
NSTrackingAreaOptions options = NSTrackingActiveAlways | NSTrackingMouseMoved | NSTrackingEnabledDuringMouseDrag; |
|
|
|
NSTrackingAreaOptions options = NSTrackingActiveAlways | NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingEnabledDuringMouseDrag; |
|
|
|
_area = [[NSTrackingArea alloc] initWithRect:rect options:options owner:self userInfo:nullptr]; |
|
|
|
[self addTrackingArea:_area]; |
|
|
|
|
|
|
|
|