Open Quobi opened 3 years ago
Optimized the drawing of child nodes. It'll perform similar to listview, drawing only the visible elements within the viewport, thus making the scrolling smooth. With support for each child nodes.
Might want to change:
bool isInTopView = Viewport.Top <= childNode.FullArea.Y;
To:
bool isInTopView = Viewport.Top <= childNode.FullArea.Y + ItemHeight;
As the first visible node it's not drawn sometimes.
Optimized the drawing of child nodes. It'll perform similar to listview, drawing only the visible elements within the viewport, thus making the scrolling smooth. With support for each child nodes.