mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 714071 - The Show Statistics setting is not preserved when toggling the full screen mode. r=neil
This commit is contained in:
parent
8307497987
commit
8ea3a1426a
@ -448,6 +448,10 @@
|
||||
this.controlBar.hidden = true;
|
||||
this.adjustControlSize();
|
||||
|
||||
// Preserve Statistics when toggling fullscreen mode due to bug 714071.
|
||||
if (this.video.mozMediaStatisticsShowing)
|
||||
this.showStatistics(true);
|
||||
|
||||
this._handleCustomEventsBound = this.handleCustomEvents.bind(this);
|
||||
this.video.addEventListener("media-showStatistics", this._handleCustomEventsBound, false, true);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user