mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-25 03:58:30 +00:00
4.14.12
* Added: Setting to hide re-runs in the site's side navigation, or to display them faded out to more obviously differentiate them from original live content. * Added: The `Changelog` will now only display commits with associated releases, by default. Users can optionally display all commits. * Fixed: The error message when a tool-tip failed to render was not being localized. * Fixed: Padding for certain metadata elements such as the `Host` button. * Fixed: The Stream Uptime metadata pop-up not opening in Safari due to the browser's lack of modern JS features. * Fixed: Tool-tips not working within the FFZ Control Center. * Fixed: Tool-tip positioning when in Portrait Mode. * Fixed: The `Current Category` rule type for profiles not matching on directory pages.
This commit is contained in:
parent
3e653c0381
commit
6e93d712bd
10 changed files with 77 additions and 355 deletions
|
@ -134,14 +134,22 @@ export default class CSSTweaks extends Module {
|
|||
changed: val => this.toggleHide('side-offline-channels', val)
|
||||
});
|
||||
|
||||
this.settings.add('layout.side-nav.hide-reruns', {
|
||||
default: false,
|
||||
this.settings.add('layout.side-nav.rerun-style', {
|
||||
default: 1,
|
||||
ui: {
|
||||
path: 'Appearance > Layout >> Side Navigation',
|
||||
title: 'Hide Reruns',
|
||||
component: 'setting-check-box'
|
||||
title: 'Display Reruns',
|
||||
component: 'setting-select-box',
|
||||
data: [
|
||||
{value: 0, title: 'Do Not Display'},
|
||||
{value: 1, title: 'Normally'},
|
||||
{value: 2, title: 'Faded (33% Opacity)'}
|
||||
]
|
||||
},
|
||||
changed: val => this.toggleHide('side-rerun-channels', val)
|
||||
changed: val => {
|
||||
this.toggleHide('side-rerun-channels', val === 0);
|
||||
this.toggle('side-rerun-opacity', val === 2);
|
||||
}
|
||||
});
|
||||
|
||||
this.settings.add('layout.swap-sidebars', {
|
||||
|
@ -293,7 +301,6 @@ export default class CSSTweaks extends Module {
|
|||
this.toggleHide('side-nav', !this.settings.get('layout.side-nav.show'));
|
||||
this.toggleHide('side-rec-friends', !this.settings.get('layout.side-nav.show-rec-friends'));
|
||||
this.toggleHide('side-offline-channels', this.settings.get('layout.side-nav.hide-offline'));
|
||||
this.toggleHide('side-rerun-channels', this.settings.get('layout.side-nav.hide-reruns'));
|
||||
this.toggleHide('prime-offers', !this.settings.get('layout.prime-offers'));
|
||||
this.toggleHide('top-discover', !this.settings.get('layout.discover'));
|
||||
|
||||
|
@ -301,6 +308,10 @@ export default class CSSTweaks extends Module {
|
|||
this.toggleHide('not-live-bar', this.settings.get('channel.hide-not-live-bar'));
|
||||
this.toggleHide('channel-live-ind', this.settings.get('channel.hide-live-indicator'));
|
||||
|
||||
const reruns = this.settings.get('layout.side-nav.rerun-style');
|
||||
this.toggleHide('side-rerun-channels', reruns === 0);
|
||||
this.toggle('side-rerun-opacity', reruns === 2);
|
||||
|
||||
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