mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 18:06:55 +00:00
3.5.323. Refactor Debug. Use channel cover height in mini-player calculation.
This commit is contained in:
parent
d098e402b4
commit
1a52caab6b
5 changed files with 391 additions and 267 deletions
|
@ -590,7 +590,7 @@ FFZ.prototype.modify_channel_redesign = function(view) {
|
|||
|
||||
handleScroll: function(top) {
|
||||
this._super();
|
||||
var height = Layout.get('playerSize.1');
|
||||
var height = this.get('channelCoverHeight') + Layout.get('playerSize.1');
|
||||
document.body.classList.toggle('ffz-small-player', f.settings.small_player && top >= (height * .8));
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue