internal/ui: bug fix: wrong property name was used

Closes #2400
This commit is contained in:
Hajime Hoshi 2022-10-21 21:37:01 +09:00
parent 436bfdb06b
commit c49db07e75

View File

@ -253,7 +253,7 @@ func (u *userInterfaceImpl) setNativeCursor(shape CursorShape) {
case 2: case 2:
cursor = NSCursor.Send(sel_performSelector, objc.RegisterName("crosshairCursor")) cursor = NSCursor.Send(sel_performSelector, objc.RegisterName("crosshairCursor"))
case 3: case 3:
cursor = NSCursor.Send(sel_performSelector, objc.RegisterName("pointHandCursor")) cursor = NSCursor.Send(sel_performSelector, objc.RegisterName("pointingHandCursor"))
case 4: case 4:
cursor = NSCursor.Send(sel_performSelector, objc.RegisterName("_windowResizeEastWestCursor")) cursor = NSCursor.Send(sel_performSelector, objc.RegisterName("_windowResizeEastWestCursor"))
case 5: case 5: