mbrlabs / Lorien

Infinite canvas drawing/whiteboarding app for Windows, Linux and macOS. Made with Godot.
MIT License
5.45k stars 234 forks source link

"Reset to Center" and "Zoom to Drawing" Functions #264

Open tafode opened 6 months ago

tafode commented 6 months ago

As described in #233 I have created two new buttons in the toolbar. One for resetting the camera to center/home (position 0/0 with Zoom 1) and one that zooms out so that the whole drawing is shown.

image

I'm not sure if the Icons are clear enough. So I'm open for suggestions. Additionally they don't match exactly the style of the others.

Known issues with this solution:

tafode commented 1 month ago

I'm not sure if this feature is still needed/wanted, but I have re-implemented the logic, so that it works now with the new Godot 4.3 version.