Integration: duplicateSpread's params doc parses as parameters

next's params parser splits on commas; main's wording put a comma inside the
`to` description. next's wording has none.
This commit is contained in:
aiongg committed 2026-10-16 03:32:38 +00:00
1 parent 1caf53f40b
commit ba260c8e39
1 file changed
+1 -1
+1 -1
View File
@@ -176,7 +176,7 @@ pub fn specs() -> Vec<CommandSpec> {
"Duplicate Spread",
["Layout", "Pages"],
None,
"{spread, atEnd?: bool (Duplicate Spread at End of Document; the Pages panel's New Page button takes a dropped page there), to?: page index the copied pages move to, in the same undo step (the Pages panel's Alt-drag)} → {page: the copy's first page (0-based)} — the spread's pages (size, margins, columns, guides, liquid rule) and items",
"{spread, atEnd?: bool (Duplicate Spread at End of Document; the Pages panel's New Page button takes a dropped page there), to?: page index the copied pages move to in the same undo step (the Pages panel's Alt-drag)} → {page: the copy's first page (0-based)} — the spread's pages (size, margins, columns, guides, liquid rule) and items",
has_doc,
|s, p| {
let si = p.get("spread").and_then(Value::as_u64).unwrap_or(0) as usize;