This commit is contained in:
InventorXtreme 2024-04-21 01:40:05 -04:00
parent a290af7f77
commit 11ef611bf2

View file

@ -1,6 +1,8 @@
package pinwindows package pinwindows
import ( import (
"fmt"
rl "github.com/gen2brain/raylib-go/raylib" rl "github.com/gen2brain/raylib-go/raylib"
) )
@ -51,7 +53,7 @@ func (winman *RayGuiWindowManager) ProcessUserWindowMovement() {
} }
} }
fmt.Println("erm")
if winman.movingwindow != nil { if winman.movingwindow != nil {
if winman.movingwindowmode == WINDOW_MODE_DRAG { if winman.movingwindowmode == WINDOW_MODE_DRAG {
winman.movingwindow.Pos.X += (rl.GetMouseDelta().X) winman.movingwindow.Pos.X += (rl.GetMouseDelta().X)