mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 15:21:17 -05:00
84dc59e4df
Typing a number into a dialog's number field, then text that is not a number, then leaving the field cancels the typing. These dialogs read the field with value(), which ignores the cancel, so they kept the last number typed. They now read events.landed(), as the tool option form does since #9750, and take back the value the cancel restores. - Rearrange Artboards, Layer Options, Define Perspective Grid, Bullets and Numbering, PNG Options, Composite Fonts, Graph Data, Print, Transform Each, Width Point Edit, Split Into Grid and the gradient stop popover. - Layer Options for several layers sends no Dim Images value when the canceled typing began with the field unset. - Bullets and Numbering puts a blank field back to blank. - Graph Data's Column Width gives back every column's own width. - Width Point Edit: an edit of Side 1, Side 2 or Total Width that ends in a cancel (Escape, or leaving the field on text that is not a number) puts back the side widths from before the edit, but only the sides that still hold the edit's last value. Canceling Total Width after a 0 keeps unequal sides unequal. With several points selected, each point gets back its own widths, also when the field showed no common width and the edit was the wheel turned over the held field and then Escape. OK no longer applies the canceled width. - Width Point Edit, Graph Data's Column Width and Layer Options' Dim Images to put values back only when the user canceled the edit. A value set by anything else while an edit runs stays: ui.dialog.set (in Graph Data also a per-column width set through widths), and in Width Point Edit a link toggle or an edit of the other set of sides, even when it sets the same value as the canceled edit.