When we select Objects in Tiled, the view automatically positions itself in an attempt to center/fit the Object into view. Now, possibly due to a related bug regarding the Mini-Map that I will soon report, this adjustment doesn’t work accurately when Image Objects are concerned. This is very apparent when the Image Objects’ source image resolution is big. Oftentimes, the view centers at a lower position, and sometimes it completely moves the the view so far out that you no longer see the Image Object.
Partly because of this bug I was wondering if it would be better to have this auto-fit as an option in the Preferences, or a tickbox in the menu, or a toolbar button that toggles ‘Auto Fit Selected Objects’.
Another reason why this would be useful is when editing a fairly large map, the current view is important to retain despite the object selection. Sometimes, the object selection is to only change attributes of the object rather than intending to view or move them. When the auto-fit kicks in, you have to scroll back to the original view you had, or remember the object that you were focused on before you selected the last object.
Thanks for reading!