mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-24 19:48:30 +00:00
4.0.0-rc21.6
* Added: Setting to remove rounding applied to avatars. * Fixed: New settings not being marked as seen when you see them. * Fixed: Position of the FFZ Control Center icon in the navigation bar. * Fixed: Position of the Whisper button when in theater mode with a custom Chat Width. * Fixed: Hiding Recommended Channels from the Following Directory. * Fixed: Rendering of badges in slot zero.
This commit is contained in:
parent
f4557cd31b
commit
f754b7fce7
8 changed files with 40 additions and 21 deletions
|
@ -216,6 +216,18 @@ export default class CSSTweaks extends Module {
|
|||
},
|
||||
changed: val => this.toggle('hide-bits', !val)
|
||||
});
|
||||
|
||||
// Other?
|
||||
|
||||
this.settings.add('channel.round-avatars', {
|
||||
default: true,
|
||||
ui: {
|
||||
path: 'Channel > Appearance >> General',
|
||||
title: 'Allow avatar images to be rounded.',
|
||||
component: 'setting-check-box'
|
||||
},
|
||||
changed: val => this.toggle('square-avatars', !val)
|
||||
});
|
||||
}
|
||||
|
||||
onEnable() {
|
||||
|
@ -230,6 +242,8 @@ export default class CSSTweaks extends Module {
|
|||
this.toggleHide('prime-offers', !this.settings.get('layout.prime-offers'));
|
||||
this.toggleHide('top-discover', !this.settings.get('layout.discover'));
|
||||
|
||||
this.toggle('square-avatars', ! this.settings.get('channel.round-avatars'));
|
||||
|
||||
const recs = this.settings.get('layout.side-nav.show-rec-channels');
|
||||
this.toggleHide('side-rec-channels', recs === 0);
|
||||
this.toggleHide('side-closed-rec-channels', recs === 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue