mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-05 18:48:31 +00:00
4.0.0-rc21.2
* Fixed: The fix for chat width.
This commit is contained in:
parent
7d8151b6d9
commit
d9948ad0e7
2 changed files with 3 additions and 3 deletions
|
@ -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.1',
|
||||
major: 4, minor: 0, revision: 0, extra: '-rc21.2',
|
||||
commit: __git_commit__,
|
||||
build: __webpack_hash__,
|
||||
toString: () =>
|
||||
|
|
|
@ -382,7 +382,7 @@ export default class ChatHook extends Module {
|
|||
this.css_tweaks.setVariable('chat-width', `${width/10}rem`);
|
||||
|
||||
this.css_tweaks.toggle('chat-font', size !== 12 || font);
|
||||
this.css_tweaks.toggle('chat-width', this.chat.context.get('chat.use-width'));
|
||||
this.css_tweaks.toggle('chat-width', this.settings.get('chat.use-width'));
|
||||
|
||||
this.css_tweaks.toggle('emote-alignment-padded', emote_alignment === 1);
|
||||
this.css_tweaks.toggle('emote-alignment-baseline', emote_alignment === 2);
|
||||
|
@ -438,7 +438,7 @@ export default class ChatHook extends Module {
|
|||
this.on('site.web_munch:loaded', this.grabTypes);
|
||||
this.grabTypes();
|
||||
|
||||
this.chat.context.on('changed:chat.width', this.updateChatCSS, this);
|
||||
this.settings.on('changed:chat.width', this.updateChatCSS, this);
|
||||
this.chat.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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue