Open digiwombat opened 4 years ago
Tried handling it via the based UIElement.OnRender for the TreeContainer but that didn't seem to do much because I'm relying on the element X,Y positions.
TabItem.Selector.Selected also was no good because it fires before the UI draw takes place.
Could go back to using OnRender to render the baseline connections, but that still leaves the problem of extra connections not rendering on initial load if the correct tab isn't selected. It's a rough thing. What I really need is an AFTERSelector.Selected thing so I can know the visuals have rendered.
If the conversation tab isn't selected, the lines don't draw when loading a file. This is likely to do with the tab not being loaded visually so it doesn't know where to draw.
Can be easily fixed by just adding a DrawExtraConnectors() call to an Selected event for the conversations tab.