mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
The Export for Screens dialog built its Example line from its fields as typed, so it often showed a name the export does not write. It used the artboard's name with its spaces (Artboard 1.png where the export writes Artboard-1.png) and the first artboard whatever the range, kept a prefix, a suffix or a device name such as CON as typed, used the scale text as the row folder instead of the row's own folder or its size, kept a vector row's @2x suffix, left out the folder that Create Sub-folders adds, and read a counter set as text as 1. The line now comes from the export's own naming. The naming part of document.exportForScreens moves into a Naming type that the export uses for every file, and fileio::screen_first_file returns the path of the first file the export writes for the given params, without encoding or writing anything. The dialog passes it the params it exports with, without the destination, so the line shows before a folder is chosen and is left out while the settings choose nothing to export. The Start at field shows the counter the export uses when it was set as text. Docs: docs/target-app-parity.md.