feat: rotate canvas#1712
Conversation
fef733e to
0daf8fd
Compare
|
Nice, that's a great addition! improvements I'd add to the list:
|
I'm not sure about this. I feel like the other end of the spectrum could also work, i.e. make the rotation rectangle an oriented bounding box which has the same rotation as the camera at the time of its creation.
This is already implemented, there are areas of 2° that snap the rotation into multiples of 45°. Maybe 2° is too small? Also, do you have any ideas for improving the touch gesture? I feel like making rotation and zooming exclusive (like GIMP) is quite restrictive and makes it a lot less "fun" to use, at least for me. I'll probably try adding an activation threshold/hysteresis for rotation and test if that works. |
…ustments fixes "gtk_adjustment_configure: assertion 'lower + page_size <= upper' failed"
0daf8fd to
69ec9e2
Compare
1b4e279 to
84f0d97
Compare
84f0d97 to
072a065
Compare
Signed-off-by: Moritz Mechelk <moritzmechelk@gmail.com>
072a065 to
4e91891
Compare
Adds support for rotating the canvas.
canvas_rotation.mp4
TODO
Known Issues
In a fixed layout, rotating by more than 45° (e.g. 180°) and scrolling to the right or bottom edge makes the camera jump back into the center. I don't know why this is happening.Fixed by #1719.