mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
The preview lets a cell be dragged to +/-200% but the schema rejected anything past +/-100, failing half the draggable range with a 400. The schema now mirrors the drag clamp; cover-mode values past 100 saturate at the image edge, contain-mode values keep panning like the preview. Cover cells and the cornerRadius mask re-encode kept the input format, so JPEG inputs lost the masked alpha and corners flattened to black. Both now encode PNG explicitly. Unreadable image dimensions used to silently substitute the cell's own size, fill-stretching the image; they now throw and surface as a 422 naming the file. Fixes #718