internal/ui: remove unused functions

This commit is contained in:
Hajime Hoshi 2022-12-16 15:17:59 +09:00
parent d79f1a3d08
commit 9ad7a55db2

View File

@ -209,17 +209,6 @@ func (u *userInterfaceImpl) adjustWindowPosition(x, y int, monitor *glfw.Monitor
return x, y
}
func flipY(y int) int {
for _, m := range ensureMonitors() {
if m.x == 0 && m.y == 0 {
y = -y
y += m.vm.Height
break
}
}
return y
}
var class_NSEvent = objc.GetClass("NSEvent")
var sel_mouseLocation = objc.RegisterName("mouseLocation")