Commit 9adf9542 by ojw28 Committed by GitHub

Merge pull request #4175 from cdotchen/FixDefaultTimeBar

Fix timebar scrubber notify wrong start position
parents 18a679fe 693fe284
...@@ -408,8 +408,8 @@ public class DefaultTimeBar extends View implements TimeBar { ...@@ -408,8 +408,8 @@ public class DefaultTimeBar extends View implements TimeBar {
switch (event.getAction()) { switch (event.getAction()) {
case MotionEvent.ACTION_DOWN: case MotionEvent.ACTION_DOWN:
if (isInSeekBar(x, y)) { if (isInSeekBar(x, y)) {
startScrubbing();
positionScrubber(x); positionScrubber(x);
startScrubbing();
scrubPosition = getScrubberPosition(); scrubPosition = getScrubberPosition();
update(); update();
invalidate(); invalidate();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment