This commit is contained in:
InventorXtreme 2024-04-21 01:43:23 -04:00
parent 913f61d21d
commit f4d9fb1246

View file

@ -1,7 +1,7 @@
package pinwindows
import (
"log"
"fmt"
rl "github.com/gen2brain/raylib-go/raylib"
)
@ -53,7 +53,6 @@ func (winman *RayGuiWindowManager) ProcessUserWindowMovement() {
}
}
log.Println("erm")
if winman.movingwindow != nil {
if winman.movingwindowmode == WINDOW_MODE_DRAG {
winman.movingwindow.Pos.X += (rl.GetMouseDelta().X)
@ -66,6 +65,7 @@ func (winman *RayGuiWindowManager) ProcessUserWindowMovement() {
}
func (winman RayGuiWindowManager) DrawInternalWindowList() {
fmt.Println("erm")
for i := 0; i < len(winman.winlist); i++ {
winman.winlist[i].DrawInternals()
}