erm
This commit is contained in:
parent
bc2fd8bd0d
commit
625121aa5b
|
@ -48,7 +48,7 @@ func (win *RayGuiWindow) Resize(x, y int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (win *RayGuiWindow) DidStartMoveDrag() bool {
|
func (win *RayGuiWindow) DidStartMoveDrag() bool {
|
||||||
if win.IsTouchingRegion(rl.GetMousePosition(), rl.NewRectangle(0, -20, float32(win.Size.X), 20)) {
|
if win.IsTouchingRegion(rl.GetMousePosition(), rl.NewRectangle(0, -win.GetBorderRect().Height, float32(win.Size.X), win.GetBorderRect().Height)) {
|
||||||
if rl.IsMouseButtonPressed(rl.MouseButtonLeft) {
|
if rl.IsMouseButtonPressed(rl.MouseButtonLeft) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue