erm
This commit is contained in:
parent
06840f0fe2
commit
a290af7f77
|
@ -1,8 +1,6 @@
|
||||||
package pinwindows
|
package pinwindows
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
|
|
||||||
rl "github.com/gen2brain/raylib-go/raylib"
|
rl "github.com/gen2brain/raylib-go/raylib"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -56,7 +54,6 @@ func (winman *RayGuiWindowManager) ProcessUserWindowMovement() {
|
||||||
|
|
||||||
if winman.movingwindow != nil {
|
if winman.movingwindow != nil {
|
||||||
if winman.movingwindowmode == WINDOW_MODE_DRAG {
|
if winman.movingwindowmode == WINDOW_MODE_DRAG {
|
||||||
fmt.Println(rl.GetMouseDelta().Y)
|
|
||||||
winman.movingwindow.Pos.X += (rl.GetMouseDelta().X)
|
winman.movingwindow.Pos.X += (rl.GetMouseDelta().X)
|
||||||
winman.movingwindow.Pos.Y += (rl.GetMouseDelta().Y)
|
winman.movingwindow.Pos.Y += (rl.GetMouseDelta().Y)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue