mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
internal/ui: use 'set' instead of 'push' for cursors
We don't need to use a cursor stack.
This commit is contained in:
parent
ed8efa54e3
commit
86fa9366f7
@ -285,7 +285,7 @@ func (u *userInterfaceImpl) setNativeCursor(shape CursorShape) {
|
|||||||
case 5:
|
case 5:
|
||||||
cursor = NSCursor.Send(sel_performSelector, objc.RegisterName("_windowResizeNorthSouthCursor"))
|
cursor = NSCursor.Send(sel_performSelector, objc.RegisterName("_windowResizeNorthSouthCursor"))
|
||||||
}
|
}
|
||||||
cursor.Send(objc.RegisterName("push"))
|
cursor.Send(objc.RegisterName("set"))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (u *userInterfaceImpl) isNativeFullscreenAvailable() bool {
|
func (u *userInterfaceImpl) isNativeFullscreenAvailable() bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user