From f4557cd31bdd76eabdc824db73273abb25e02802 Mon Sep 17 00:00:00 2001 From: SirStendec Date: Fri, 24 May 2019 22:46:34 -0400 Subject: [PATCH] 4.0.0-rc21.5 * Added: Button to mark all settings as seen to the main menu, only visible when there are new settings. * Fixed: Formatting of metadata. * Fixed: Custom Chat Width and Theater Mode. --- src/main.js | 2 +- .../main_menu/components/main-menu.vue | 15 ++++++ .../main_menu/components/profile-selector.vue | 2 +- src/modules/main_menu/index.js | 54 ++++++++++++++++++- src/modules/metadata.jsx | 4 +- .../twitch-twilight/modules/chat/index.js | 2 +- 6 files changed, 73 insertions(+), 6 deletions(-) diff --git a/src/main.js b/src/main.js index 2a468776..82aa4c0b 100644 --- a/src/main.js +++ b/src/main.js @@ -149,7 +149,7 @@ ${typeof x[1] === 'string' ? x[1] : JSON.stringify(x[1], null, 4)}` FrankerFaceZ.Logger = Logger; const VER = FrankerFaceZ.version_info = { - major: 4, minor: 0, revision: 0, extra: '-rc21.4', + major: 4, minor: 0, revision: 0, extra: '-rc21.5', commit: __git_commit__, build: __webpack_hash__, toString: () => diff --git a/src/modules/main_menu/components/main-menu.vue b/src/modules/main_menu/components/main-menu.vue index 902e39cf..0b2d51d0 100644 --- a/src/modules/main_menu/components/main-menu.vue +++ b/src/modules/main_menu/components/main-menu.vue @@ -60,6 +60,16 @@
+
+ +
this.markAllSeen(thing), markSeen: item => this.markSeen(item), markExpanded: item => { diff --git a/src/modules/metadata.jsx b/src/modules/metadata.jsx index a5229e8b..8ce47fd6 100644 --- a/src/modules/metadata.jsx +++ b/src/modules/metadata.jsx @@ -779,12 +779,12 @@ export default class Metadata extends Module { icon = (
); el = (
{icon} - {stat = } + {stat = }
); if ( def.click ) diff --git a/src/sites/twitch-twilight/modules/chat/index.js b/src/sites/twitch-twilight/modules/chat/index.js index 17bb29c1..99c69e8e 100644 --- a/src/sites/twitch-twilight/modules/chat/index.js +++ b/src/sites/twitch-twilight/modules/chat/index.js @@ -439,7 +439,7 @@ export default class ChatHook extends Module { this.grabTypes(); this.chat.context.on('changed:chat.width', this.updateChatCSS, this); - this.settings.on('changed:chat.use-width', this.updateChatCSS, this); + this.settings.main_context.on('changed:chat.use-width', this.updateChatCSS, this); this.chat.context.on('changed:chat.font-size', this.updateChatCSS, this); this.chat.context.on('changed:chat.font-family', this.updateChatCSS, this); this.chat.context.on('changed:chat.lines.emote-alignment', this.updateChatCSS, this);