This commit is contained in:
InventorXtreme 2024-04-21 01:42:31 -04:00
parent 11ef611bf2
commit 913f61d21d

View file

@ -1,7 +1,7 @@
package pinwindows package pinwindows
import ( import (
"fmt" "log"
rl "github.com/gen2brain/raylib-go/raylib" rl "github.com/gen2brain/raylib-go/raylib"
) )
@ -53,7 +53,7 @@ func (winman *RayGuiWindowManager) ProcessUserWindowMovement() {
} }
} }
fmt.Println("erm") log.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)