Commit 693fe284 by cdotchen

fix timebar scrubber notify wrong start position

parent d4eb2e5b
...@@ -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