mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 09:21:55 +01:00
Merge pull request #9731 from dotCooCoo/fix/browser-place-distinct-sources-w4
Keep distinct browser Place files that share a name
This commit is contained in:
8 files changed
+340
-63
No files matched your search
+6
-1
@@ -9928,7 +9928,12 @@ its allocation limit. Importing individual layers with `layers: true` retains it
|
||||
`file.place.info` describes a file without placing it and `image.info` reports a placed image's link, colour mode and
|
||||
effective ppi. `file.place.queue` loads the place cursor (the `place` tool) with several files: headless, drive it
|
||||
with `pointer_gesture` (a click places at 100% with the top-left corner there, a drag at the dragged size) and
|
||||
`press_key` (Left/Right/Up/Down cycle, Escape discards the current file). The cursor keeps an encrypted PDF, `.ai`
|
||||
`press_key` (Left/Right/Up/Down cycle, Escape discards the current file). The place tool's state includes a
|
||||
read-only `sourceIndex`: the current file's zero-based position in the original load, or null when empty.
|
||||
It stays with that file when other files are placed or discarded; `current` indexes the remaining files.
|
||||
In the app, same-named files also keep their own queued size and password requirement. Choosing another PDF
|
||||
page after a cursor click places that page at its own size; a drag keeps the chosen box.
|
||||
The cursor keeps an encrypted PDF, `.ai`
|
||||
or `.ait` file that it cannot read without the password, at 612 × 792 pt (VectorCraft's own size) with
|
||||
`needsPassword: true` and no thumbnail; in the app a click or drag on it asks for the password, and headless it places
|
||||
nothing. `file.place`, `file.place.queue` and
|
||||
|
||||
Reference in new issue
Block a user