mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Test Quick Export through the menu and clarify filename collisions
This commit is contained in:
1 parent
ec07994126
commit
59abe3368b
2 files changed
+5
-4
No files matched your search
@@ -27,7 +27,7 @@ fn suggested_for_selection(name: &str, include_empty: bool) -> (String, String)
|
||||
if include_empty {
|
||||
app.session.restore_layer_selection(Some(layer), &[empty, layer], None).unwrap();
|
||||
}
|
||||
app.run("layer.quickExportAsPng", json!({})).unwrap();
|
||||
crate::menus::invoke(&mut app, &egui::Context::default(), "layer.quickExportAsPng", Value::Null).unwrap();
|
||||
let asked = files.requests();
|
||||
let [request] = asked.as_slice() else { panic!("one Save dialog: {asked:?}") };
|
||||
assert_eq!(request.kind, PickKind::Save);
|
||||
|
||||
@@ -813,9 +813,10 @@ else}` is Photoshop's Insert Conditional as a step: it tests the document or act
|
||||
and plays the matching action by name, failing the caller when that action fails.
|
||||
|
||||
Layer-panel **Quick Export as PNG** exports each selected layer or group with exportable pixels
|
||||
as a separate PNG. With several outputs, desktop asks for one folder and the web downloads each
|
||||
file. Each PNG uses its source name with unsafe filename characters replaced. Duplicate names
|
||||
and occupied desktop filenames get numbered alternatives. A single output uses a Save dialog.
|
||||
as a separate PNG. Each PNG uses its source name with unsafe filename characters replaced.
|
||||
For several outputs, desktop asks for one folder and the web downloads each file. Duplicate
|
||||
names get numbered alternatives, as do occupied filenames on desktop. A single output uses
|
||||
a Save dialog that lets you confirm replacing an existing file.
|
||||
Multiple selected sources are captured before opening the picker.
|
||||
|
||||
## Shared panel docking
|
||||
|
||||
Reference in new issue
Block a user