Files
vectorcraft/docs
HassanKhan 4c5ba5516d Canvas (web): an edit while a heavy document's view moves draws only what it changed
In the web build (no render worker), while the view of a document whose
last render took more than 8 ms moves, the canvas draws the last frame
moved with the view and renders once the view is still. An edit in
that time rendered the whole canvas at the new view, every frame: a
tool drag held at an edge of the canvas (#8551) or a wheel scroll during
a drag did that on each step.

Such an edit is now drawn into the frame shown, at the view it was
rendered for: only the part the edit changed (changed_pixels). The
frame stays drawn reprojected and renders whole once the view has been
still for STILL_SECS, as for a view change without an edit. An edit
that changes more than half of the frame, or one while more than the
view and the document change, renders whole at once as before. The
partial redraw of draw_frame moves into draw_changed, shared by both.

Fixes #8688
2026-11-19 21:30:16 +05:00
..
2026-11-19 15:28:09 +07:00
2026-11-19 15:36:41 +07:00
2026-11-19 15:12:20 +07:00
2026-11-19 15:27:12 +07:00
2026-11-19 16:05:01 +07:00