From 9ad7a55db2f1749c158c0abf3d797e41036517da Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 16 Dec 2022 15:17:59 +0900 Subject: [PATCH] internal/ui: remove unused functions --- internal/ui/ui_glfw_darwin.go | 11 ----------- 1 file changed, 11 deletions(-) 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")