Files
gerrit/polygerrit-ui/app/elements/shared/gr-cursor-manager
Becky Siegel 3b40fb18d8 If no more cursor matches, move to end or beginning of the file
Previously, when _getNextindex was called, if there were no more
matches, it would return the current index.  This change updates the
function to return the first or last stop instead, depending on whether
the delta is positive or negative.

This change also fixes a bug in _scrollToTarget in which 'top' wasn't
calculated after _targetIsVisible was pulled out into a separate
function.

Feature: Issue 5280
Change-Id: Idc0d73aaca607f24f4f8d8cd28bd92f899288d85
2017-01-20 16:42:17 -08:00
..