Skip to content

Let the frame be moved and resized instead of replaced - #20

Merged
ursasi merged 1 commit into
mainfrom
feat/selection-handles
Oct 26, 2026
Merged

ursasi merged 1 commit into
mainfrom
feat/selection-handles

Conversation

@ursasi

@ursasi ursasi commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Inside a snip, an existing frame could only be lost: a press anywhere started a new one. Adjusting a selection that was slightly off felt like a trap, and a stray click threw it away.

Now, with a frame on screen:

  • Drag inside it → the whole frame moves, clamped to the display.
  • Drag one of the four corner handles → it resizes from the opposite corner, minimum 24 pt.
  • A plain click → nothing happens.
  • Drag outside → a new frame, which is still how a fresh selection is made.

The handles are white squares with an accent edge, so they read on a light and a dark capture alike. Captions and other marks keep priority over the frame body, so clicking one still selects it.

check result
click inside a 400×300 frame frame unchanged
drag inside by (+150, +80) frame reported at (750, 380, 400, 300)
drag the bottom-right corner by (+100, +80) 500×380 pt — label reads 1000×760 px
handles four, drawn at the corners

Inside a snip the only thing you could do with an existing frame was lose it: a
press anywhere started a new one, which made adjusting a slightly-off selection
feel like a trap.

The frame now has four corner handles — drag one to resize from the opposite
corner, with a 24 pt minimum — and dragging inside it moves the whole frame,
clamped to the display. A plain click does nothing at all. Dragging outside
still starts a new frame, which is how a fresh selection gets made.

Handles are drawn as white squares with an accent edge so they read against both
a light and a dark capture.
@ursasi
ursasi merged commit b9371a5 into main Oct 26, 2026
1 check passed
@ursasi
ursasi deleted the feat/selection-handles branch October 30, 2026 10:47
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