PintaProject / Pinta

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

Added "Offset Selection" action #746

Closed zWolfrost closed 3 months ago

zWolfrost commented 3 months ago

Hi, i have added the GUI option for offsetting the selection in the edit tab, finally closing my issue (#661). Similarly to last time, I have tried my best to respect the project flow, but feel free to point out if i did something wrong. I will add an icon for the action in a next commit if i manage to find one, but for now i will just use the same icon of the "invert selection" option.

zWolfrost commented 3 months ago

I have noticed that the code formatting check for Ubuntu wasn't successful, but that should be an unrelated problem and not caused by my pull request. Shouldn't be too bad, the build checks all work anyway.

zWolfrost commented 3 months ago

There you go. So in the end it was caused by my PR, my bad. For future reference, run the command "dotnet format --no-restore --exclude-diagnostics CA1416" to let .NET format your code before submitting.

cameronwhite commented 3 months ago

Looks good, thanks for working on this!