View position resets when image is resized/rescaled
Open
@d2phap is already working on this.
Since Jan 31, 2021.
🎯 feature
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 752
- Avg merge
- 10d 14h
- Merged PRs (30d)
- 1
Description
System information:
- Windows OS version: 10
- ImageGlass version: 8.0.12.8
To Reproduce
Steps to reproduce the behavior:
- Open a (preferably big) image
- Set some scale mode (in a preferably small window)
- Move elsewhere in the picture
- Change scale mode (or even just set again the same one)
Actual behavior:
View position resets back on the default (i.e. top, or center image on viewer)
Expected behavior:
Whatever the current view position should be preserved
Additional context:
EDIT: actually, this seems to happen even when you toggle the toolbar for example.
So maybe it's something a bit deeper than just scaling.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.