1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-25 03:58:30 +00:00
* Added: Setting to hide the "Not Live" bar beneath videos and clips that appears when the channel is currently live.
* Fixed: Handling of `https://www.twitch.tv/<channel>/clip/<slug>` urls for rich chat embeds and rich link tool-tips.
* Fixed: Lower the priority of custom highlight terms so they will not break links.
* Fixed: Holding multiple modifier keys to display in-line chat actions.
* Fixed: Clean up out-dated avatar display setting for the directory.

* API Added: Allow add-ons to access the Popper JS library via `FrankerFaceZ.utilities.popper`.
* API Added: `<icon-picker />` Vue component for selecting an icon.
* API Added: `<react-link />` Vue component for creating links that cause the React app to navigate without a page load.
* API Added: `<t-list />` Vue component for translating text including Vue elements.
* API Added: `maybeLoad(icon)` function for font awesome to only load the font if the icon is from font awesome.
* API Added: `generateUUID()` function to `FrankerFaceZ.utilities.object`
* API Added: The `vue-observe-visibility` module is now loaded with Vue and made available in all Vue contexts.
This commit is contained in:
SirStendec 2019-06-08 17:35:48 -04:00
parent 3157aeb390
commit aa25bff498
22 changed files with 210 additions and 218 deletions

View file

@ -230,14 +230,15 @@ export default class CSSTweaks extends Module {
changed: val => this.toggle('square-avatars', !val)
});
this.settings.add('channel.not-live-bar', {
this.settings.add('channel.hide-not-live-bar', {
default: true,
ui: {
path: 'Channel > Appearance >> General',
title: 'Show notification below clips and videos if the streamer is live.',
title: 'Hide the "Not Live" bar.',
description: 'Hide the bar which appears beneath clips and videos when the streamer is live, telling you they are live.',
component: 'setting-check-box'
},
changed: val => this.toggle('not-live-bar', !val)
changed: val => this.toggleHide('not-live-bar', val)
});
}
@ -254,7 +255,7 @@ export default class CSSTweaks extends Module {
this.toggleHide('top-discover', !this.settings.get('layout.discover'));
this.toggle('square-avatars', ! this.settings.get('channel.round-avatars'));
this.toggleHide('not-live-bar', ! this.settings.get('channel.not-live-bar'));
this.toggleHide('not-live-bar', this.settings.get('channel.hide-not-live-bar'));
const recs = this.settings.get('layout.side-nav.show-rec-channels');
this.toggleHide('side-rec-channels', recs === 0);