TalkerMakerDeluxe icon indicating copy to clipboard operation
TalkerMakerDeluxe copied to clipboard

Lines sometimes don't draw on initially loaded conversation

Open digiwombat opened this issue 5 years ago • 1 comments

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.

digiwombat avatar Apr 22 '20 10:04 digiwombat

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.

digiwombat avatar Apr 23 '20 06:04 digiwombat