Files
vectorcraft/docs
dotCooCoo e73f51debc Layers: thumbnails of long paths are drawn off the UI thread
The Layers panel chose between the UI thread and the thumbnail thread
for a row's first thumbnail by counting objects only, so one path of
200,000 anchors was rendered on the UI thread. A row whose paths hold
more than 2,000 anchors in all now goes to the thumbnail thread, as a
row of more than 200 objects already did.

While such a row waits, the painted fallback thumbnail draws nothing
for it instead of measuring the path's bounds on every frame.

Opening the panel on one path of 200,000 anchors: the first frame takes
2.4 ms instead of 393 ms (release build, median of three runs).
2026-11-05 05:10:41 +07:00
..
…