Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow pan/resize for selected frame #29

Open
starturtle opened this issue Sep 26, 2020 · 0 comments
Open

Allow pan/resize for selected frame #29

starturtle opened this issue Sep 26, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@starturtle
Copy link
Owner

Right now, the selected frame must be drawn as a new rectangle each time. Instead, it should become a set of four edges that can be moved "independently".
As there is no real independence, there are several ways to cope:

  • only allow dragging corners
  • distribute equally among the adjacent edges (e.g. when moving the left edge of a square 10px to the left, move top edge up by 5 and bottom edge down by 5).
  • distribute accordingly to the corresponding position (e.g. when moving the left edge of a square 10px to the left at 20% from the bottom, move up the top edge by 8px and down the bottom edge by 2px).
  • "the winner takes it all": if less than 40% from the top, only move up the top edge by 10px, if less than 40% from the bottom, move down the bottom edge by 10px, otherwise distribute equally.

This should be possible to avoid tedious fixing of small errors when cutting the desired piece of image.

@starturtle starturtle added the enhancement New feature or request label Sep 26, 2020
@starturtle starturtle added this to the Usability Extension milestone Oct 30, 2020
@starturtle starturtle changed the title Allow drag and drop for selected frame Allow pan/resize for selected frame Oct 30, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant