mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Backed out changeset 672cda014328 (bug 729111)
This commit is contained in:
parent
34a70b8a84
commit
b76eb7a5ec
@ -1261,11 +1261,8 @@
|
||||
let videoHeight = this.video.clientHeight;
|
||||
let videoWidth = this.video.clientWidth;
|
||||
|
||||
if ((this._overlayPlayButtonHeight + this._controlBarHeight) > videoHeight ||
|
||||
this._overlayPlayButtonWidth > videoWidth)
|
||||
if (this._overlayPlayButtonHeight > videoHeight || this._overlayPlayButtonWidth > videoWidth)
|
||||
this.clickToPlay.hidden = true;
|
||||
else if (this.clickToPlay.hidden)
|
||||
this.clickToPlay.hidden = false;
|
||||
|
||||
// The scrubber has |flex=1|, therefore |minScrubberWidth|
|
||||
// was generated by empirical testing.
|
||||
|
Loading…
Reference in New Issue
Block a user