Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Matthew Hazlett |
I’m having issues with the ColorRect i’m using as a canvas in my paint app.
I created a viewport, put the image inside and added scroll bars to the outside of the viewport. It works great, but the problem occurs when the viewport contains an image that it to large, making it invisibly overlap other controls.
I added events to disable / enable the viewports input when the mouse is over it but the mouseout event never fires if the image is too big. At a loss as what to do. I have tried many different configurations of nodes to no avail and ways to disable the input. Anyone have any idea how I can deal with this?
Do the scrollbars come before or after it? Nodes at the bottom of the list are added last, and are technically above the other nodes, so they take priority when it comes to input. It seems like you might need to move the scrollbars down in the node tree
andersmmg | 2021-06-20 04:06