Jarrio / haxeui-ceramic

The Unlicense
10 stars 4 forks source link

Fix TreeViewNode expand icon not expanding #2

Closed inc0der closed 1 year ago

inc0der commented 1 year ago

Fixes the issue we had wit the icon for TreeViewNodes not expanding when clicked, the problem is that there is a hidden container that causes hasComponentOver to always return true, my solution is to filter out any components that are hidden. I made a new function that uses the getComponentsAtPoint so I don't interfere with any possible future uses of that function.

Jarrio commented 1 year ago

ooo thanks for this, i'll check it out a bit later on!

Jarrio commented 1 year ago

Nice! This also improves Menu things which was on my todo list 😁 Likely can use this function in other places, but for now everything seems to work fine! Thanks again!