mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 09:46:19 +01:00
OK sent every row of the draft through prefs.set and wrote Smart Guides, Snap to Grid and Enable Contextual Task Bar back from the values copied when the dialog opened. A setting changed by a command, a panel menu or a script while Preferences was open went back to its old value, and a workspace switched to while it was open took the Contextual Task Bar of the workspace the dialog opened in. - The window keeps each row as it last read it (at open, after an import or a prefs.reset refreshes it, and after OK or Apply) and the rows set in it since then. OK and Apply write only the rows set in the window or whose value differs from the one read, so a reset in the window is still written. A row changed both ways takes the window's value. - Enable Contextual Task Bar left alone in the dialog is not written, so each workspace keeps its own bar. - OK with nothing changed runs no prefs.set, adds no undo step and does not ask the host to save the settings; original_editor::commit reports whether the Edit Original choice changed. Docs: docs/mcp.md (Preferences) and a line in docs/target-app-parity.md.