Browse Source

fixed not updating cursor on osx

boombuler 7 years ago
parent
commit
7f2f713ff0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/OSX/Avalonia.MonoMac/TopLevelImpl.cs

+ 3 - 0
src/OSX/Avalonia.MonoMac/TopLevelImpl.cs

@@ -133,7 +133,10 @@ namespace Avalonia.MonoMac
             {
                 ResetCursorRects();
                 if (_cursor != null)
+                {
                     AddCursorRect(Frame, _cursor);
+                    _cursor.Set();
+                }
             }
 
             static readonly NSCursor ArrowCursor = NSCursor.ArrowCursor;