mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
fix timebar scrubber notify wrong start position
This commit is contained in:
parent
d4eb2e5b85
commit
693fe2841d
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue