Commit Graph
6 Commits
Author SHA1 Message Date
InpaintRegionEditor Dev 59b8ea0c56 debug: Add detailed logging for mask export
- Log each step of mask detection
- Log channel list from Photopea
- Log success/failure at each step
- Helps identify where export fails
2026-02-27 20:56:03 +08:00
InpaintRegionEditor Dev d0c835700d fix: Properly export layer mask from Photopea
- Use Photopea's native layer mask feature
- Users can: Layer > Layer Mask > Reveal All
- Draw mask with brush (black/white)
- Apply feathering via Properties panel
- Export mask correctly from Mask channel
2026-02-27 20:47:25 +08:00
InpaintRegionEditor Dev a5eb559df5 fix: Use selection instead of layer mask for simpler workflow
- Changed from layer mask to selection-based mask export
- Faster execution, no timeout issues
- Simpler user workflow: use selection tool (M) to draw mask area
- Updated hints to reflect selection-based workflow
2026-02-27 20:32:40 +08:00
InpaintRegionEditor Dev 7c2b031dfd fix: Auto-close after save, single save button
- Auto-close modal 300ms after successful save
- Single 'Save Image and Mask' button (export layer mask)
- User draws mask using Photopea's built-in layer mask tools
- Simplified code structure
2026-02-27 20:15:49 +08:00
InpaintRegionEditor Dev ef08bc1b91 fix: Separate save buttons, fix DOM error on close
- Split into two buttons: 'Save Image' and 'Save Mask from Selection'
- Add isOpen flag to prevent DOM operations after modal close
- Simplify mask export: create mask directly from selection
- Better error handling and status messages
2026-02-27 20:09:43 +08:00
InpaintRegionEditor Dev cf0f8e404a Initial commit: Photopea integration for inpaint editing 2026-02-27 19:55:26 +08:00