Status bar zoom value does not update when switching to and from the camera layer
Issue Summary
When a camera layer is selected, the zoom may change, but if it does, the zoom value in the status bar is not updated until something else alters the zoom level (such as scrolling).
Actual Results
When switching the active layer from a non-camera layer to a camera layer or between camera layers, if the zoom level differs, the zoom level in the status bar will not be updated.
Expected Results
The status bar zoom label/field should always display the current view zoom level on non-camera layers. If a camera layer is active, the current zoom level of the camera should be displayed in the status bar zoom label/field, even if it has not been changed by the user yet.
Steps to reproduce
- Start a new project.
- Zoom in or out so the current zoom level is not 100%.
- Switch to the camera layer.
- Observe that the current zoom level is the same as it was on the non-camera layer, despite the fact that the view zoom has changed to match the default 100% zoom of the camera layer.
System Information
- Pencil2D Version: 0.6.6, ddcaedda5555dfc549a34571adfaf3dbea35b2b8
Developer Notes
This issue was mentioned in #1442, but has been known to exist in the program far before then. This issue would be made obsolete by the changes in #1587 because then the zoom level would not depend on the currently selected layer.