1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-02 16:08:31 +00:00

Bump version. Update changelog. Tweak strings for the new emote alignment setting.

This commit is contained in:
SirStendec 2018-04-08 15:51:50 -04:00
parent 5fb92f52da
commit a01b21e9d9
3 changed files with 13 additions and 6 deletions

View file

@ -1,3 +1,11 @@
<div class="list-header">4.0.0-beta2.2<span>@201497e9898b452ba698</span> <time datetime="2018-04-08">(2018-04-08)</time></div>
<ul class="chat-menu-content menu-side-padding">
<li>Added: Support for the old Featured Channels feature.</li>
<li>Added: Emote alignment setting.</li>
<li>Fixed: Some tooltips only displaying once.</li>
<li>Fixed: Route sorting issue causing potentially inconsistent behavior on some pages, including various directory pages.</li>
</ul>
<div class="list-header">4.0.0-beta2.1<span>@1a56c5fabae6fb37d845</span> <time datetime="2018-04-07">(2018-04-07)</time></div> <div class="list-header">4.0.0-beta2.1<span>@1a56c5fabae6fb37d845</span> <time datetime="2018-04-07">(2018-04-07)</time></div>
<ul class="chat-menu-content menu-side-padding"> <ul class="chat-menu-content menu-side-padding">
<li>Added several settings to configure the emote menu.</li> <li>Added several settings to configure the emote menu.</li>

View file

@ -95,7 +95,7 @@ class FrankerFaceZ extends Module {
FrankerFaceZ.Logger = Logger; FrankerFaceZ.Logger = Logger;
const VER = FrankerFaceZ.version_info = { const VER = FrankerFaceZ.version_info = {
major: 4, minor: 0, revision: 0, extra: '-beta2.1', major: 4, minor: 0, revision: 0, extra: '-beta2.2',
build: __webpack_hash__, build: __webpack_hash__,
toString: () => toString: () =>
`${VER.major}.${VER.minor}.${VER.revision}${VER.extra || ''}${DEBUG ? '-dev' : ''}` `${VER.major}.${VER.minor}.${VER.revision}${VER.extra || ''}${DEBUG ? '-dev' : ''}`

View file

@ -238,13 +238,13 @@ export default class ChatHook extends Module {
default: 0, default: 0,
ui: { ui: {
path: 'Chat > Appearance >> Chat Lines', path: 'Chat > Appearance >> Chat Lines',
title: 'Emoticon Alignment', title: 'Emote Alignment',
description: 'Change how emotes are aligned and padded in chat, making messages taller but preventing emotes from overlapping.', description: 'Change how emotes are positioned in chat, potentially making messages taller in order to avoid having emotes overlap.',
component: 'setting-select-box', component: 'setting-select-box',
data: [ data: [
{value: 0, title: 'Standard'}, {value: 0, title: 'Standard'},
{value: 1, title: 'Padded'}, {value: 1, title: 'Padded'},
{value: 2, title: 'Baseline (BTTV-Like'} {value: 2, title: 'Baseline (BTTV-Like)'}
] ]
} }
}); });
@ -325,6 +325,7 @@ export default class ChatHook extends Module {
this.chat.context.on('changed:chat.width', this.updateChatCSS, this); this.chat.context.on('changed:chat.width', this.updateChatCSS, this);
this.chat.context.on('changed:chat.font-size', 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.font-family', this.updateChatCSS, this);
this.chat.context.on('changed:chat.lines.emote-alignment', this.updateChatCSS, this);
this.chat.context.on('changed:chat.adjustment-mode', this.updateColors, this); this.chat.context.on('changed:chat.adjustment-mode', this.updateColors, this);
this.chat.context.on('changed:chat.adjustment-contrast', this.updateColors, this); this.chat.context.on('changed:chat.adjustment-contrast', this.updateColors, this);
this.chat.context.on('changed:theme.is-dark', this.updateColors, this); this.chat.context.on('changed:theme.is-dark', this.updateColors, this);
@ -333,8 +334,6 @@ export default class ChatHook extends Module {
this.chat.context.on('changed:chat.filtering.highlight-tokens', this.updateMentionCSS, this); this.chat.context.on('changed:chat.filtering.highlight-tokens', this.updateMentionCSS, this);
this.chat.context.on('changed:chat.fix-bad-emotes', this.updateChatLines, this); this.chat.context.on('changed:chat.fix-bad-emotes', this.updateChatLines, this);
this.chat.context.on('changed:chat.lines.emote-alignment', this.updateChatCSS, this);
this.chat.context.on('changed:chat.lines.alternate', val => { this.chat.context.on('changed:chat.lines.alternate', val => {
this.css_tweaks.toggle('chat-rows', val); this.css_tweaks.toggle('chat-rows', val);
this.updateMentionCSS(); this.updateMentionCSS();