The recently added refreshThresholds() method was not properly
constraining the calculated threshold values in some cases. In this
change, we fix that oversight.
At the same time, we refactor scroll() to replace its own
threshold logic with the logic in refreshThresholds(), since the
old logic has become redundant.
The recently added
refreshThresholds()
method was not properly constraining the calculated threshold values in some cases. In this change, we fix that oversight.At the same time, we refactor
scroll()
to replace its own threshold logic with the logic inrefreshThresholds()
, since the old logic has become redundant.Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)