mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-10 16:10:55 +00:00
4.20.41
* Added: Including `?ffz-no-settings` in the URL will prevent FrankerFaceZ from enabling any settings profiles. This should allow users to recover without resetting their settings if they somehow break FFZ and/or Twitch by changing settings. * Changed: Limit the maximum font size to 25 for the main page.
This commit is contained in:
parent
0c5dcb4d1b
commit
53b22d8a09
6 changed files with 52 additions and 9 deletions
|
@ -119,11 +119,13 @@ export default class SettingsContext extends EventEmitter {
|
|||
const new_profiles = [],
|
||||
order = this.order = [];
|
||||
|
||||
for(const profile of this.manager.__profiles)
|
||||
if ( profile.toggled && profile.matches(this.__context) ) {
|
||||
new_profiles.push(profile);
|
||||
order.push(profile.id);
|
||||
}
|
||||
if ( ! this.manager.disable_profiles ) {
|
||||
for(const profile of this.manager.__profiles)
|
||||
if ( profile.toggled && profile.matches(this.__context) ) {
|
||||
new_profiles.push(profile);
|
||||
order.push(profile.id);
|
||||
}
|
||||
}
|
||||
|
||||
if ( array_equals(this.__profiles, new_profiles) )
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue