enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.31k stars 318 forks source link

Area label is using a separate layer for depth sorting in node::input::area #5346

Closed wdanilo closed 4 months ago

wdanilo commented 1 year ago

This task is automatically imported from the old Task Issue Board and it was originally created by Ilya Bogdanov. Original issue is here.


// Depth sorting of labels to in front of the mouse pointer. Temporary solution.
        //   It needs to be more flexible once we have proper depth management.

graph-editor/src/component/node/input/area.rs

4e6 commented 1 year ago

Relevant code

https://github.com/enso-org/enso/blob/75fda33837214a774b7c8bbbbe64aeb72db069bd/app/gui/view/graph-editor/src/component/node/input/area.rs#L257-L262

wdanilo commented 1 year ago

We have now good depth sorting of things. This code might be touched soon by @kazcw who is working on lowering the amount of draw calls and is investigating layers usage. So CCying him.

farmaazon commented 4 months ago

EnsoGL is removed from repository.