mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 481106 - Scrubber may not be positioned at end of buffer bar when playback ends. r=gavin, a192=beltzner
This commit is contained in:
parent
2f96cb2b54
commit
b922cc0075
@ -419,8 +419,15 @@
|
||||
this.setupStatusFader();
|
||||
break;
|
||||
case "pause":
|
||||
this.setPlayButtonState(true);
|
||||
this.setupStatusFader();
|
||||
break;
|
||||
case "ended":
|
||||
this.setPlayButtonState(true);
|
||||
// We throttle timechange events, so the thumb might not be
|
||||
// exactly at the end when the video finishes.
|
||||
this.showPosition(Math.round(this.video.currentTime * 1000),
|
||||
Math.round(this.video.duration * 1000));
|
||||
this.setupStatusFader();
|
||||
break;
|
||||
case "volumechange":
|
||||
|
Loading…
Reference in New Issue
Block a user