1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-11 00:20:54 +00:00
* Added: Including `?ffz-no-settings` in the URL will prevent FrankerFaceZ from enabling any settings profiles. This should allow users to recover without resetting their settings if they somehow break FFZ and/or Twitch by changing settings.
* Changed: Limit the maximum font size to 25 for the main page.
This commit is contained in:
SirStendec 2020-10-05 20:42:57 -04:00
parent 0c5dcb4d1b
commit 53b22d8a09
6 changed files with 52 additions and 9 deletions

View file

@ -12,6 +12,8 @@
<input
:id="item.full_key"
ref="control"
:type="type"
:placeholder="placeholder"
:value="value"
class="tw-border-radius-medium tw-font-size-6 tw-pd-x-1 tw-pd-y-05 tw-mg-05 tw-input"
@change="onChange"
@ -62,6 +64,16 @@ export default {
mixins: [SettingMixin],
props: ['item', 'context'],
computed: {
type() {
return this.item.type || 'text';
},
placeholder() {
return this.item.placeholder || this.default_value;
}
},
methods: {
onChange() {
const value = this.$refs.control.value;