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) }