mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1023] [MERGED] Improve sprite wand cleanup editor #4890
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4890
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1023
Author: @Xelvanis
Created: 5/19/2026
Status: ✅ Merged
Merged: 5/20/2026
Merged by: @Xelvanis
Base:
staging← Head:feature/sprite-wand-editor-upgrades📝 Commits (7)
b9fd0cfExtract sprite cleanup tools into lib module126dc94Replace edge alpha blending with foreground halo6482487Add targeted clean brush tool and unify wand selection133a7fbAdd paint brush tool and unify brush/restore controls1b93e7dFix multi-pointer gestures and brush stamp perf2081fefFix brush gesture handling and improve cleanup editor UXbe3dc17Clean up sprite cleanup editor leftovers📊 Changes
2 files changed (+2132 additions, -127 deletions)
View changed files
📝
packages/client/src/components/ui/SpriteWandCleanupEditor.tsx(+1062 -127)➕
packages/client/src/lib/sprite-cleanup-tools.ts(+1070 -0)📄 Description
Linked issue
No linked issue yet.
Why this change
Manual sprite cleanup needed more than one click-to-transparent wand pass. White matte debris around hair/details can need a safer connected wand, targeted cleanup brush, edge smoothing, restore/paint touchups, zoom/pan, and preview backgrounds so users can clean sprites without leaving Marinara.
What changed
packages/client/src/lib/sprite-cleanup-tools.ts.SpriteWandCleanupEditorwith zoom/pan, preview backgrounds, hover pixel readout, undo/reset, and scroll-safe editor chrome.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm --filter @marinara-engine/client lintpassed.pnpm build:clientpassed.git diff --checkpassed with the normal LF-to-CRLF working-copy warning.Docs and release impact
UI evidence (if applicable)
Browser/manual sprite evidence still needed before final review.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.