Details
-
Type: Task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Sprint:Summer 7: 31 Aug - 11 Sep, Fall 1: 14 Sep - 25 Sep
Description
Clicking the "eye" symbol for a track in the Data Management Table hides it, and clicking it again re-enables the track.
The problem is that when the user clicks the "eye" symbol to re-display the track after hiding it, the track re-appears with it fully or partially vertically zoomed-in.
Please see the attached screenshots for clarification.
This issue is occurring due to stretchToFit(...) {} being called twice within repackTheTiers(). Once with stretch_vertically param being false which modifies the Y axis and again with stretch_vertically being true when (getZoom(Y) < getMinZoom(Y)) || (getZoom(Y) > getMaxZoom(Y))) is satisfied.
Solution - Remove the second call to stretchToFit within repackTheTiers(). This solves the issue
Code Diff - https://bitbucket.org/noorzahara/integrated-genome-browser-local1/branch/IGBF-2510#diff