mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 21:56:24 +00:00
edit.assignProfile replaced the active color context whenever it tagged a document, even when the profiles it assigned were the working spaces already in use. The new context has the same settings, but renderers key their cached effect images on it, so every open document was redrawn and every cached blur, shadow or glow image was drawn again. The command now sets the active settings, and raises the open documents' revisions so they redraw, only when the working spaces it assigns differ from the active ones, as edit.colorSettings already does. This also fixes an intermittent failure of the test canvas::tests::a_drag_over_a_wide_blur_draws_the_blur_from_the_still_frame. The Document Setup tests assign the working profiles while it runs, and its drag frames then drew the blur again instead of reusing the still frame's image.