diff --git a/internal/ui/ui_glfw_darwin.go b/internal/ui/ui_glfw_darwin.go index 687f4ec3e..6ceb17238 100644 --- a/internal/ui/ui_glfw_darwin.go +++ b/internal/ui/ui_glfw_darwin.go @@ -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")