Skip to content

Add precise crop controls with numeric inputs and drag-to-move#184

Merged
siddharthvaddem merged 1 commit intosiddharthvaddem:mainfrom
Hemkesh:feature/precise-crop-controls
Mar 16, 2026
Merged

Add precise crop controls with numeric inputs and drag-to-move#184
siddharthvaddem merged 1 commit intosiddharthvaddem:mainfrom
Hemkesh:feature/precise-crop-controls

Conversation

@Hemkesh
Copy link
Copy Markdown
Contributor

@Hemkesh Hemkesh commented Mar 5, 2026

Summary

  • Numeric crop inputs: Added X, Y, Width, Height pixel input fields in the crop modal so users can type exact values for consistent crop positioning across videos
  • Aspect ratio presets: Dropdown with common ratios (16:9, 9:16, 4:3, 3:4, 1:1, 21:9) plus a lock/unlock button to maintain ratio while resizing
  • Drag-to-move crop area: Click and drag inside the crop region to pan it around (previously only edge resizing was possible)
  • Dark mode fix: Fixed dropdown styling so text is readable on dark backgrounds

Test plan

  • Open the crop modal and verify X/Y/W/H inputs reflect the current crop in pixels
  • Type values into the inputs and confirm the visual crop updates accordingly
  • Select an aspect ratio preset and verify the crop adjusts to match
  • Lock the aspect ratio and resize W or H — the other dimension should adjust proportionally
  • Click and drag inside the crop area to move it around
  • Verify edge handles still work for resizing
  • Check the ratio dropdown is readable in dark mode

🤖 Generated with Claude Code

…and drag-to-move

- Add X, Y, W, H pixel input fields in the crop modal for exact positioning
- Add aspect ratio preset dropdown (16:9, 9:16, 4:3, 3:4, 1:1, 21:9, Free)
- Add lock/unlock button to maintain aspect ratio when resizing
- Display source video resolution for reference
- Add drag-to-move: click inside the crop area to pan it around
- Fix dropdown styling for dark mode

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@siddharthvaddem
Copy link
Copy Markdown
Owner

This is actually helpful and neat!

@siddharthvaddem siddharthvaddem merged commit d182854 into siddharthvaddem:main Mar 16, 2026
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.

2 participants