mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-10-14 23:11:58 +00:00
4.44.0
* Added: Initial re-implementation of emote information cards. These have been broken for a while due to changes in Twitch's website preventing us from accessing them. * Added: Setting to hide charity progress elements in chat. * Changed: Emote tool-tips now display emote artists. * Changed: The `Chat Command` chat action can now optionally be sent in another channel. Note that when doing so, you will not receive feedback from your sent message. * Fixed: The 'Viewer Count' tool-tip duplicating itself. * Fixed: Emote menu repeatedly requesting FFZ data. * API Added: Ephemeral profiles can now be created by passing `ephemeral: true` in the options when creating a profile. These profiles are temporary and read-only.
This commit is contained in:
parent
daa193aa03
commit
21bc0a704f
54 changed files with 1955 additions and 161 deletions
|
@ -6,6 +6,7 @@
|
|||
ref="input"
|
||||
v-model="color"
|
||||
v-bind="$attrs"
|
||||
:disabled="disabled"
|
||||
type="text"
|
||||
class="tw-block tw-border-radius-medium tw-font-size-6 tw-full-width ffz-input tw-pd-l-1 tw-pd-r-3 tw-pd-y-05 tw-mg-y-05"
|
||||
autocapitalize="off"
|
||||
|
@ -85,6 +86,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
default: {
|
||||
type: String,
|
||||
default: '#000'
|
||||
|
@ -171,6 +176,9 @@ export default {
|
|||
},
|
||||
|
||||
onPick(color) {
|
||||
if ( this.disabled )
|
||||
return;
|
||||
|
||||
const old_val = this.color;
|
||||
|
||||
if ( color.rgba.a == 1 )
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
ref="input"
|
||||
v-bind="$attrs"
|
||||
class="default-dimmable tw-block tw-border-radius-medium tw-font-size-6 tw-full-width ffz-input tw-pd-l-1 tw-pd-r-3 tw-pd-y-05"
|
||||
:class="{'ffz--disabled': disabled}"
|
||||
tabindex="0"
|
||||
@click="startRecording"
|
||||
@keydown="onKey"
|
||||
|
@ -23,6 +24,7 @@
|
|||
</div>
|
||||
|
||||
<button
|
||||
:disabled="disabled"
|
||||
class="ffz-button--hollow ffz-clear-key tw-absolute tw-top-0 tw-bottom-0 tw-right-0 tw-border-l tw-z-default tw-pd-x-1 ffz-il-tooltip__container"
|
||||
@click="clear"
|
||||
>
|
||||
|
@ -78,7 +80,11 @@ for(const letter of 'abcdefghijklmnopqrstuvwxyz')
|
|||
|
||||
export default {
|
||||
props: {
|
||||
value: String
|
||||
value: String,
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
|
||||
data() {
|
||||
|
@ -113,6 +119,9 @@ export default {
|
|||
if ( e )
|
||||
this.stop(e);
|
||||
|
||||
if ( this.disabled )
|
||||
return;
|
||||
|
||||
if ( this.active )
|
||||
return;
|
||||
|
||||
|
@ -144,6 +153,9 @@ export default {
|
|||
|
||||
this.stop(e);
|
||||
|
||||
if ( this.disabled )
|
||||
return;
|
||||
|
||||
if ( IGNORE_KEYS.includes(k) )
|
||||
return;
|
||||
|
||||
|
@ -162,6 +174,9 @@ export default {
|
|||
},
|
||||
|
||||
clear() {
|
||||
if ( this.disabled )
|
||||
return;
|
||||
|
||||
this.$emit('input', null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue