1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-01 08:38:32 +00:00

4.0.0-rc4.5

* Added: Whisper Support
* Fixed: UI missing hover state for a few elements added by FrankerFaceZ.
* Fixed: Handle missing badge definition when rendering FFZ badges.
* Fixed: Update static chat message type mappings.
* Fixed: Error in metadata when unable to get the proper player.
* Fixed: Incorrectly applying dark theme to products page.

A bit more work on getting enhanced viewer cards ready.
This commit is contained in:
SirStendec 2018-07-13 14:32:12 -04:00
parent 4a326823b9
commit 17fb41f083
26 changed files with 396 additions and 80 deletions

View file

@ -254,7 +254,7 @@ export default {
},
canEdit() {
return this.action.v != null;
return this.action.v != null && ! this.action.v.type;
},
canPreview() {
@ -268,6 +268,17 @@ export default {
else if ( ! this.display )
return this.t('setting.unknown', 'Unknown Value');
const type = this.display.type;
if ( type === 'new-line' )
return this.t('setting.new-line', 'New Line');
else if ( type === 'space-small' )
return this.t('setting.space-small', 'Space (Small)');
else if ( type === 'space' )
return this.t('setting.space', 'Space');
const def = this.data.actions[this.display.action];
if ( ! def )
return this.t('setting.actions.unknown', 'Unknown Action Type: %{action}', this.display);
@ -289,6 +300,17 @@ export default {
if ( this.action.t === 'inherit' )
return this.t('setting.inheritance.desc', 'Inherit values from lower priority profiles at this position.');
const type = this.display && this.display.type;
if ( type === 'new-line' )
return this.t('setting.new-line.desc', 'Place all items following this on a new line.');
else if ( type === 'space-small' )
return this.t('setting.space-small.desc', 'Place a small space between the previous item and the next item.');
else if ( type === 'space' )
return this.t('setting.space.desc', 'Place as large a space as possible between the previous item and the next item.');
const def = this.display && this.data.actions[this.display.action];
if ( ! def || ! def.description )
return;