Background
There is a bug in the map editor undo behavior.
When editing a project in map edit mode, undoing a sprite move can also reset the current map zoom level. That part is unexpected.
Reproduction
- Open a project in the editor
- Enter map edit mode
- Zoom in the map
- Move a sprite to a new position
- Trigger Undo
Actual behavior
- The sprite position is reverted
- The map zoom is also reset back to the default scale
Expected behavior
- The sprite position should be reverted
- The current map zoom level should remain unchanged
Notes
Undo should only revert the sprite position change. View-state such as the current map zoom should not be reset as part of that operation.
Background
There is a bug in the map editor undo behavior.
When editing a project in map edit mode, undoing a sprite move can also reset the current map zoom level. That part is unexpected.
Reproduction
Actual behavior
Expected behavior
Notes
Undo should only revert the sprite position change. View-state such as the current map zoom should not be reset as part of that operation.