`isMouseOutsideGui()` doesn't work everywhere
Closed this issue · 4 comments
If you mistake e.g. a radio button or a button for a slider, and drag on its label, gui.isMouseOutsideGui()
returns sorry I mean false
true
.
I think that's intended? The mouse is inside the gui, regardless of whether it's interacting with a slider or a button or a radio...
Maybe I'm not understanding what you mean.
Sorry, I have the bool the wrong way round. I mean that isMouseOutsideGui()
returns true
if you drag on a radio button or button lazyGui element (dragging on the actual buttons OR their label to the left), so my gui responds to the mouse dragging when it seems like it shouldn't.
So intuitively I'd expect isMouseOutsideGui()
to return false
for mouse actions anywhere inside a lazyGui window rect.
I can reproduce this, thanks. I'll try to fix it.
fix released in v1.6.0