Fix overlay scrollbar at huge scroll offsets
The overlay scrollbar ThumbPosition method was losing precision at very high scroll offsets. This would cause it to drift away from where we actually show the thumb from the compositor so the hit testing would be unreliable. Looking at this method, there's no reason it should need to be any different from the base class ScrollbarTheme::ThumbPosition which is robust under high scroll offsets so the solution here is to simply remove the override. Less code, less bugs. Bug: 739668 Change-Id: Ib90152d989931cd0bcc0bddfb226d97d577ce575 Reviewed-on: https://chromium-review.googlesource.com/598734Reviewed-by:Dave Tapuska <dtapuska@chromium.org> Reviewed-by:
Jeremy Roman <jbroman@chromium.org> Commit-Queue: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#491766}
Showing
Please register or sign in to comment