mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 11:05:03 +00:00
HP-GL Options: OK writes nothing after another document became active
HP-GL Options stored no document, so OK after `window.nextDocument` or `file.new` exported the newly active document to the path chosen for the first one. The dialog now keeps the uid of the document it was opened for, and OK closes it and writes nothing when another document is active, as Delete Brush's dialog does.
This commit is contained in:
@@ -925,7 +925,8 @@ when the export refuses the options or the artboard choice, `pens` stays null an
|
||||
remembers the options for the next HP-GL Options (not `exportSelection`) and writes the `.plt` file(s), asking for a
|
||||
path when there is none (one per artboard with Use Artboards). A canceled save dialog writes nothing and keeps the
|
||||
options remembered before; a save dialog shown in line (not as a sheet or off the UI thread) also keeps HP-GL
|
||||
Options open.
|
||||
Options open. When another document has become the active one since the dialog opened, `ui.dialog.confirm` closes
|
||||
it and writes nothing.
|
||||
|
||||
TIFF, BMP and Targa Options: Export As… with the TIFF, BMP or Targa format (`file.exportAs {format: "tiff"}`, then
|
||||
the save dialog) opens `tiffOptions`, `bmpOptions` or `tgaOptions`: the raster rows of PNG Options (`ppi`,
|
||||
|
||||
+2
-1
@@ -10176,7 +10176,8 @@ its color, remove it or add one), Draw the Nearest Path Next (`sortPaths`) and D
|
||||
artboards, the bounds of the art, or the selection with Export Selection or Export Selected Art Only), or one black
|
||||
pen when that art draws nothing. When the export refuses the options or the artboard choice, One Pen per Color stays
|
||||
chosen and the dialog shows why. OK checks the options and the artboard choice, and remembers the options for the
|
||||
next export; a canceled save panel writes nothing and keeps the options remembered before.
|
||||
next export; a canceled save panel writes nothing and keeps the options remembered before. When another document has
|
||||
become the active one since the dialog opened, OK closes it and writes nothing.
|
||||
|
||||
## TIFF, BMP and Targa export
|
||||
|
||||
|
||||
Reference in New Issue
Block a user