1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-16 10:06:54 +00:00
* Added: Setting to hide viewer counts from the side bar.
* Changed: Allow use of time formats when creating a timeout action. (Closes #978)
* Changed: Highlight My Message highlights can now be displayed in either Twitch style or FFZ style, in addition to disabling the highlight. FFZ Style remains the default. (Closes #972)
* Fixed: Current Channel profile rules not functioning, either on normal channel pages or on mod view pages. (Closes #957)
* Fixed: Current Category and Title profile rules not working on mod view.
* Fixed: Channel color not being detected correctly. (Also Closes #972)
* Fixed: Download Clip not displaying on clip pages. (Closes #960)
* Fixed: Remove debug logging from `resizeInput`
* Fixed: Popups, including channel rules, not rendering correctly in portrait mode. (Closes #979)
* Fixed: Rendering for certain elements using `tw-pill`
* Fixed: Vue balloon elements not rendering correctly.
This commit is contained in:
SirStendec 2021-01-27 17:36:01 -05:00
parent 9a2a6f2acf
commit 046de0bb8a
16 changed files with 365 additions and 31 deletions

View file

@ -14,6 +14,7 @@ const CLASSES = {
//'unfollow': '.follow-btn__follow-btn--following,.follow-btn--following',
'top-discover': '.navigation-link[data-a-target="discover-link"]',
'side-nav': '.side-nav,#sideNav',
'side-nav-viewers': '.side-nav-card__live-status',
'side-rec-channels': '.side-nav .recommended-channels,.side-nav .side-nav-section + .side-nav-section:not(.online-friends)',
//'side-rec-friends': '.side-nav .recommended-friends',
'side-friends': '.side-nav .online-friends',
@ -144,6 +145,16 @@ export default class CSSTweaks extends Module {
}
});
this.settings.add('layout.side-nav.hide-viewers', {
default: false,
ui: {
path: 'Appearance > Layout >> Side Navigation',
title: 'Hide Channel View Counts',
component: 'setting-check-box'
},
changed: val => this.toggleHide('side-nav-viewers', val)
});
this.settings.add('layout.side-nav.show-avatars', {
default: true,
ui: {
@ -409,6 +420,7 @@ export default class CSSTweaks extends Module {
}
onEnable() {
this.toggleHide('side-nav-viewers', this.settings.get('layout.side-nav.hide-viewers'));
this.toggle('hide-native-uptime', this.settings.get('metadata.uptime.no-native'));
this.toggle('hide-native-viewers', this.settings.get('metadata.viewers.no-native'));
this.toggle('chat-fix', this.settings.get('layout.use-chat-fix'));