Merge pull request #4175 from cdotchen/FixDefaultTimeBar

Fix timebar scrubber notify wrong start position
This commit is contained in:
ojw28 2018-05-09 13:52:32 -07:00 committed by GitHub
commit 9adf9542e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -408,8 +408,8 @@ public class DefaultTimeBar extends View implements TimeBar {
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
if (isInSeekBar(x, y)) {
startScrubbing();
positionScrubber(x);
startScrubbing();
scrubPosition = getScrubberPosition();
update();
invalidate();