Closed iwehrman closed 8 years ago
This only works for top and left areas of the window. I mean, it's still better than calling it all the time, but we should instead check with panel store to avoid making calls when mouse pointer is out of the visible canvas.
Derp. I'll try again.
OK! Now I'm checking against the canvas bounds from the panel store. And on all four sides! :sweat_smile:
But, really, who even moves their mouse that far to the right anyway?
Verified all four sides. Thanks for fixing!
What it says! This cuts down on some pointless, wasteful calls to
hitTest
.Addresses #3732.