You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Minimap: scrolling up in large file makes the slider jump a little bit #21346
I've tried to work around this tremor in some cases, but there are still cases where it occurs.
The root cause is:
the minimap does not render partial lines. i.e. if a line is painted with 2px height, at y = 0 in the minimap there will always be a full line starting
the viewport renders partial lines
depending on the scrollTop, the viewport can contain N or N + 1 lines (where the first and last lines are only partially visible)
changed the title [-]Minimap: scrolling up in large folder makes the thumb jump a little bit[/-][+]Minimap: scrolling up in large file makes the thumb jump a little bit[/+]on Feb 24, 2017
changed the title [-]Minimap: scrolling up in large file makes the thumb jump a little bit[/-][+]Minimap: scrolling up in large file makes the slider jump a little bit[/+]on Feb 24, 2017
Activity
alexdima commentedon Feb 24, 2017
I've tried to work around this tremor in some cases, but there are still cases where it occurs.
The root cause is:
NorN + 1lines (where the first and last lines are only partially visible)Very annoying indeed.
[-]Minimap: scrolling up in large folder makes the thumb jump a little bit[/-][+]Minimap: scrolling up in large file makes the thumb jump a little bit[/+][-]Minimap: scrolling up in large file makes the thumb jump a little bit[/-][+]Minimap: scrolling up in large file makes the slider jump a little bit[/+]levani commentedon Mar 12, 2017
Not sure if it's the same problem but the slider also jumps when dragging by cursor.
Have the minimap slider be constantly aligned with the scrollbar slid…
jens1o commentedon Jun 7, 2017
does f5e4e4f closes this issue? alexandrudima
alexdima commentedon Jun 7, 2017
6df8165 should hopefully fix it
Fixes microsoft#21346: Implement a different minimap slider scroll st…