mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 15:57:49 +00:00
A drag of art across the document tabs ended whenever the source document's revision changed. Since #7173, bringing a document with other assigned color profiles to the front raises every open document's revision so that each redraws in the new profiles, so holding art over such a tab switched to it and then canceled the drag before the drop. The drag now keeps the source document it left and ends only when that document's content changes (DocState::same_content). A redraw keeps it, and so does type measured again when the source comes back to the front, which replaces the document without editing it.