mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
fit_image read width/height with f64_param and clamped to 1, so a 0 or negative side (dialogs send 0 for an empty field) became a 1 px box and shrank the document to 1x1. It now uses size_param like the rest of file_cmds.rs, so such a side falls back to the document's own size. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>