bgrabitmap / lazpaint

🎨 Cross-platform image editor with raster and vector layers similar to Paint.Net written in Lazarus (Free Pascal)
https://lazpaint.github.io/
GNU General Public License v3.0
401 stars 55 forks source link

Vector: move along X or Y axis #103

Open c-sanchez opened 4 years ago

c-sanchez commented 4 years ago

Block X or Y axis with the keyboard if want move a layer/image just in an axis. lock Y axis with Shift, to move just horizontally lock X axis with Alt (or ctrl?), to move just vertically

circular17 commented 4 years ago

That's interesting, though Shift and Alt are already much used.

circular17 commented 4 years ago

Maybe there was a misunderstanding regarding this, as it looks like the issue I just added: https://github.com/bgrabitmap/lazpaint/issues/159

I was thinking about the position of the mouse, but we can just constrain the movement of the object.

circular17 commented 4 years ago

So a way to implement this would be:

circular17 commented 2 years ago

Related to https://github.com/bgrabitmap/lazpaint/issues/107