From d0e7c66c106a79504c79e0b18f6a7f4c02f9a865 Mon Sep 17 00:00:00 2001 From: InventorXtreme Date: Sun, 21 Apr 2024 01:35:16 -0400 Subject: [PATCH] erm --- windowmanager.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/windowmanager.go b/windowmanager.go index 799a54a..bad67e5 100644 --- a/windowmanager.go +++ b/windowmanager.go @@ -1,6 +1,10 @@ package pinwindows -import rl "github.com/gen2brain/raylib-go/raylib" +import ( + "fmt" + + rl "github.com/gen2brain/raylib-go/raylib" +) type managewindowfunc func(*RayGuiWindowManager, *RayGuiWindow) @@ -52,6 +56,7 @@ func (winman *RayGuiWindowManager) ProcessUserWindowMovement() { if winman.movingwindow != nil { if winman.movingwindowmode == WINDOW_MODE_DRAG { + fmt.Println(rl.GetMouseDelta().X) winman.movingwindow.Pos.X += (rl.GetMouseDelta().X) winman.movingwindow.Pos.Y += (rl.GetMouseDelta().Y) }