Skip to content

Conversation

@cameronwhite
Copy link
Member

  • Use the rectangle handle to control scaling
  • Dragging to translate the region should update the rectangle handles
  • Rotations should also rotate the rectangle handles
  • The Shift key should constrain to the original aspect ratio, not to a square

Fixes: #585

@cameronwhite cameronwhite force-pushed the feature/resize-selected-pixels-v2 branch from 5bc0005 to caff207 Compare July 3, 2025 01:34
@cameronwhite cameronwhite force-pushed the feature/resize-selected-pixels-v2 branch from caff207 to 87a1cae Compare August 10, 2025 14:17
@cameronwhite cameronwhite force-pushed the feature/resize-selected-pixels-v2 branch from 87a1cae to 81731f1 Compare September 1, 2025 02:04
cameronwhite added a commit that referenced this pull request Sep 1, 2025
- Store a rectangle rather than separate origin / end points. This is simpler, and for PR #1515 this will likely be extended further to also store an orientation

- Clarify that the bounds are only used for interactive manipulation by tools, and might not reflect the selection's entire bounds when e.g. using intersection modes

- Adjust the `TransformPoint()` signature to be easier to use
cameronwhite added a commit that referenced this pull request Sep 1, 2025
- Store a rectangle rather than separate origin / end points. This is simpler, and for PR #1515 this will likely be extended further to also store an orientation

- Clarify that the bounds are only used for interactive manipulation by tools, and might not reflect the selection's entire bounds when e.g. using intersection modes

- Adjust the `TransformPoint()` signature to be easier to use
@cameronwhite cameronwhite force-pushed the feature/resize-selected-pixels-v2 branch from 81731f1 to 2150c88 Compare September 1, 2025 15:35
…of selections

- Use the rectangle handle to define how the selected area is scaled
- Update the rectangle handle when dragging to translate the selected area

Bug: #585
@cameronwhite cameronwhite force-pushed the feature/resize-selected-pixels-v2 branch from 2150c88 to 6b1ae6a Compare September 20, 2025 22:34
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.

Resize selection relative to opposite corner instead of center.

2 participants