Skip to content

feat(watermark): continuous scale slider - #55

Merged
slaveofcode merged 3 commits into
developfrom
feat/watermark-scale-slider
Jul 31, 2026
Merged

feat(watermark): continuous scale slider#55
slaveofcode merged 3 commits into
developfrom
feat/watermark-scale-slider

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Replaces the three Size preset buttons in the Image Watermark tool with a continuous Scale slider (1–100%).

  • Maps to fontScale 1/24..1/4 via a new tested scaleToFontScale() helper in canvas.lib.ts.
  • Larger scale → bigger font and proportionally wider tiled gaps (gap already derives from font size).
  • Color picker and opacity slider unchanged (already shipped).

Spec: docs/superpowers/specs/2026-07-31-watermark-scale-slider-design.md

Tests: 484 pass · lint 0 errors · build green.

🤖 Generated with Claude Code

slaveofcode and others added 3 commits July 31, 2026 11:14
Promote: always-available device camera
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Swap the three Small/Medium/Large size buttons for a continuous Scale
slider (1-100%), mapped to fontScale 1/24..1/4 via a new tested
scaleToFontScale() helper. Larger scale yields a bigger font and, because
the tiled layout derives its gap from font size, proportionally wider gaps.
Color and opacity controls are unchanged (already shipped).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@slaveofcode
slaveofcode merged commit 77d494b into develop Jul 31, 2026
1 of 2 checks passed
@slaveofcode
slaveofcode deleted the feat/watermark-scale-slider branch July 31, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant