Lemmings Forums

Lix => Lix Main => Topic started by: Forestidia86 on March 08, 2021, 09:46:44 PM

Title: Editor, zoom isn't kept when changing topology (#234)
Post by: Forestidia86 on March 08, 2021, 09:46:44 PM
This issue (#234) (https://github.com/SimonN/LixD/issues/234) can really get grating when tailoring the map (zoomed out) to the wished size. It can take mutiple tries to get the proper map size and because of this issue one has to zoom out every time again to see if it fits.
The zoomed in map actually tells you very few about the full size of the map.

(I can see the use of automatically readjusting zoom when it is the default zoom.)
Title: Re: Editor, zoom isn't kept when changing topology (#234)
Post by: Simon on March 09, 2021, 04:31:46 PM
Right, resizing is highly disorienting and doesn't allow incremental adjustments.

In the long term, I want a better resizing dialog. And it would be really nice to focus the camera on the change.

Here's a short-term fix to ease the pain: When we resize the map in the editor, the camera will zoom out as far as necessary to view at least the entire map. This is usually as far out as possible.

This fix is alrleady on unstable's master branch. It's planned to go in the next release.

-- Simon