PintaProject / Pinta

Simple GTK# Paint Program
http://www.pinta-project.com/
MIT License
1.85k stars 275 forks source link

Resize selection relative to opposite corner instead of center. #585

Open Flightkick opened 1 year ago

Flightkick commented 1 year ago

Description Resize using mouse dragging does so from the center of the selected area. This behavior makes it hard to align multiple layers.

IIRC, Paint.NET keeps the opposite corner of the one being dragged at the same position, making this much easier.

cameronwhite commented 1 year ago

This is referring to the Move Selected Pixels tool, correct?

There has been some partial work on this which needs to be revisited (on the https://github.com/PintaProject/Pinta/tree/feature/resize-selected-pixels branch). The idea is to make the Move Selected Pixels tool work more like the Rectangle Select tool and give you handles to resize the selected content from any corner

Flightkick commented 1 year ago

@cameronwhite Ah yes, that would be correct. I see now that the current behavior doesn't actually allow dragging a corner but just responds to the dragging by scaling the selection as a whole. That explains why this is currently not supported. Nice to see that this is being reworked to allow resizing from any corner, thank you for answering! :)

spikespaz commented 7 months ago

I'm actually amazed that this doesn't exist. I don't even care about the handles, I can use Vim keybindings if that's what the maintainers want to do. But the lack of ability to resize selections quite literally makes Pinta useless for every purpose I have wanted to use it for. I come back every once in a while to see if it is possible, and it never is.