Unbork settings page even more
This commit is contained in:
parent
a0eeabbd50
commit
09253fe0a1
@ -117,7 +117,7 @@ export default {
|
|||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
StretchType: StretchType,
|
StretchType: StretchType,
|
||||||
AspectRatio: AspectRatio,
|
AspectRatioType: AspectRatioType,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
@ -108,7 +108,7 @@
|
|||||||
<div class="flex flex-input">
|
<div class="flex flex-input">
|
||||||
<input type="number"
|
<input type="number"
|
||||||
step="any"
|
step="any"
|
||||||
:value="settings.active.StretchType.conditionalDifferencePercent"
|
:value="settings.active.stretch.conditionalDifferencePercent"
|
||||||
@input="updateStretchThreshold($event.target.value)"
|
@input="updateStretchThreshold($event.target.value)"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@ -168,7 +168,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
StretchType: StretchType,
|
StretchType: StretchType,
|
||||||
ExtensionMode: ExtensionMode,
|
ExtensionMode: ExtensionMode,
|
||||||
VideoAlignment: VideoAlignment,
|
VideoAlignmentType: VideoAlignmentType,
|
||||||
stretchThreshold: 0,
|
stretchThreshold: 0,
|
||||||
corruptedSettingsError: false,
|
corruptedSettingsError: false,
|
||||||
downloadPermissionError: false,
|
downloadPermissionError: false,
|
||||||
@ -198,7 +198,7 @@ export default {
|
|||||||
if (!newThreshold || isNaN(newThreshold)) {
|
if (!newThreshold || isNaN(newThreshold)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.settings.active.StretchType.conditionalDifferencePercent = newThreshold;
|
this.settings.active.stretch.conditionalDifferencePercent = newThreshold;
|
||||||
this.settings.save();
|
this.settings.save();
|
||||||
},
|
},
|
||||||
resetSettings() {
|
resetSettings() {
|
||||||
|
Loading…
Reference in New Issue
Block a user