Resizing the window resets the zoom
When I'm zoomed in on a particular region of the matrix and then I resize the entire Treeview window, the zoom level resets itself to 100% (the whole matrix).
Comments (5)
-
-
-
assigned issue to
Not sure if I can fix this, but I'm looking into it.
-
assigned issue to
-
- changed status to resolved
Fixed issue 96 involving the view zooming out when the window is resized. To fix this, I added 2 variables in mapContainer to keep track of user-explicit manipulations of the image view: the first visible index and the number of visible indexes. I then update those wherever the user can explicitly change the data that is viewed, e.g. zooming, the home button, etc.. I then added 2 functions to DendroController to re-zoom and re-scroll the visible area that are called when the window is resized (instead of calling resetmapContainers). The other changes only relate to me removing some debug prints that I neglected to take out on the last issue that I fixed & merged.
→ <<cset 284ac839b362>>
-
reporter Tested on 14-11-06. Fixed.
-
reporter - changed status to closed
- Log in to comment
I did a screen-recording of this behavior for whoever works on it:
http://gen-rlimac.princeton.edu/~rleach/TREEVIEWBUGS/win_resize_zoomout.mov