mirror of
https://github.com/samsonjs/media.git
synced 2026-04-26 14:57:47 +00:00
Merge pull request #4175 from cdotchen/FixDefaultTimeBar
Fix timebar scrubber notify wrong start position
This commit is contained in:
commit
9adf9542e1
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