mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 08:26:28 +00:00
The Print dialog's General section (and the print preset editor) gets a link button after Scale W and H. While it is on, typing either percentage sets the other, and turning it on sets H to W. It is on for new settings, dimmed with the fields unless Scaling is Custom or a tiling choice, toggled with a click, Space or Enter, and screen readers hear its name and on or off state. W and H now take 1 to 1000 %. The link is saved as scale.linked with the other print settings, in the document and in print presets. A scale saved without it reads as unlinked, so earlier settings print as they did. print.setup, print.preview, file.print and print.presets.save apply the same rules: one percentage sets the other while linked, a different width and height without a linked key turn the link off, and with linked: true (or linked: null over a linked scale) they are an error.