Files
SnapOtter/apps/web
SnapOtter 3a2b1ee105 fix: wire 8 unwired tools, fix selection type sync, fix selection preview
Root cause analysis of the magic wand bug revealed the same dispatch
pattern affected 13 other tools:

- 8 tools (eyedropper, clone stamp, dodge, burn, sponge, blur brush,
  sharpen brush, smudge) had hook implementations but were never
  imported or wired into the canvas toolMap -- clicking did nothing
- Selection type (rect/ellipse/lasso) was never synced from the global
  activeTool to the selection hook's internal state, so marquee-ellipse
  and lasso tools always produced rectangular selections
- Selection drag preview was hardcoded to Rect instead of using the
  existing ActiveSelectionPreview component
- Zoom tool click did nothing (now zooms in on click, out on alt+click)
- Magic wand dispatched to generic selection drag instead of flood fill
2026-05-08 15:45:49 +08:00
..