Panels are not counted when using "is_pointer_over_area()" #2544
TotalKrill
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to detect when the pointer is over an area, however the current implementation of
ctx.is_pointer_over_area()ignores everyOrderthat isOrder::Background. Which means panels are not considered an "area" and thus my code will not work as intended.I am currently manually placing an Area, with a Frame, to use instead of the panel to get around this.
What would be a good solution to get SidePanels and TopBottom Panels to become an Area detected by "is_pointer_over_area()".
My solution I think would be to add another
Orderfor Panels, since they are not really background, and not really a middle layer.Beta Was this translation helpful? Give feedback.
All reactions