mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-04 11:44:00 +00:00
4.20.48
* Fixed: Player sizing issue for Firefox users. * Fixed: Errors rendering tool-tips for chat actions. * Changed: Tweak parameters for automatic error reports to filter out more invalid error reports.
This commit is contained in:
parent
b7a2ce3fcf
commit
32859318b2
8 changed files with 66 additions and 19 deletions
|
@ -1,5 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
import { IS_FIREFOX } from 'src/utilities/constants';
|
||||
// ============================================================================
|
||||
// Layout Overrides for Twitch Twilight
|
||||
// ============================================================================
|
||||
|
@ -268,7 +269,7 @@ export default class Layout extends Module {
|
|||
if ( this._resize_timer )
|
||||
return;
|
||||
|
||||
this._resize_timer = setTimeout(() => this._handleResize(), 100);
|
||||
this._resize_timer = setTimeout(() => this._handleResize(), IS_FIREFOX ? 500 : 100);
|
||||
}
|
||||
|
||||
_handleResize() {
|
||||
|
@ -277,10 +278,13 @@ export default class Layout extends Module {
|
|||
|
||||
if ( ! this.ResizeDetector.instances.size )
|
||||
this._needs_resize = true;
|
||||
else
|
||||
else {
|
||||
for(const inst of this.ResizeDetector.instances) {
|
||||
inst?.props?.onResize?.();
|
||||
}
|
||||
|
||||
this.emit('site.player:fix-player');
|
||||
}
|
||||
}
|
||||
|
||||
get is_minimal() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue