15 Commits
Author SHA1 Message Date
Adachi f8531c7399 Fix cancellation, workspace lifetime races and dense-mask memory use 2026-11-10 11:48:54 +08:00
Adachi 87fadd7197 Refresh replacement uploads and sync inpaint dimensions 2026-10-28 10:54:59 +08:00
adachi 3030531275 Remove the ✓ merge step; right-click reselects directly
Adoption returns to the repaint mask (option A) and layer blending stays opt-in via ◐. Right-click/Escape now flattens any remaining layer and releases the region in one action, so the separate ✓ commit button is gone.
2026-10-17 14:44:16 +08:00
adachi 175a063195 Restructure crop adoption and speed up change detection
Crop & Blend adoption now bakes the layer into the source at full quality and
returns to the repaint mask immediately, so the user can generate again right
away. Layer blending is entered explicitly through the blend button instead of
auto-entering after adoption.

The inline mask change fingerprint now uses the source file's size and mtime
instead of hashing its full high-resolution bytes, removing a full-file read on
every change/execution.
2026-10-17 14:08:54 +08:00
adachi da4a26c982 Reuse the decoded result and report silent adoption skips
Adopting a crop result previously downloaded the full-size image a second time
inside the crop layer. Pass the already-decoded image through, cutting one
decode round trip.

Adoption could also return without any feedback when the preview was still
loading, no target was selected, or the crop/layer state changed. Those cases now
show a visible message instead of failing silently.
2026-10-17 13:57:03 +08:00
adachi 7f432d921c Place the Clear button after the swap control
In Crop & Blend the bottom bar now reads preset, swap, clear, mask, blend and
merge. In Mask mode the other bar controls are hidden, so Clear remains the only
button and stays at the bottom left. Bump the inline crop asset version to fetch
the updated file.
2026-10-17 00:23:55 +08:00
adachi c406ef10d9 Add a Clear button to the bottom-left canvas bar
One click empties the mask of the active target in both Mask and Crop & Blend
modes, reusing the existing clear command so the paint bounds still apply. The
button is disabled until an image is loaded. Also bump the inline crop module's
asset version so the changed file is fetched instead of a cached copy.
2026-10-17 00:20:49 +08:00
adachi 02b3ce2662 Remove hover text from the painting canvas
Hovering the image showed a hint in every mode. Drop the canvas title entirely
so no hover text appears over the picture, keep the instructions on the bottom
controls and their button tooltips, and delete the now-unused hint entries from
the locale dictionary.
2026-10-17 00:11:29 +08:00
adachi f5883dce8a Move selected-region painting help to the repaint mask button
The crop canvas repeated the selected-region painting help while a region was
locked. Move that text onto the repaint mask button, drop the now-unused
dictionary entry, and leave the locked canvas without a repeated hover hint.
2026-10-17 00:07:15 +08:00
adachi 5283ac99d0 Preview original crop while holding right mouse and add hover help 2026-10-16 23:51:46 +08:00
adachi aae35150c4 Use right-click for crop reselection and move Undo into inline toolbar 2026-10-16 23:38:27 +08:00
adachi 38fd6813f7 Allow changing crop dimensions after locking the region 2026-10-16 23:23:42 +08:00
adachi 07ce762159 Adopt crop results through comparison and sync crop resolution 2026-10-16 23:18:25 +08:00
adachi 53bebffb83 Fix draft storage and fold controls alongside revised crop workflow 2026-10-16 22:43:22 +08:00
adachi 24be45d996 Merge crop and layer blending into inline editor with selection tools 2026-10-16 22:08:37 +08:00