Unbork settings page even more

This commit is contained in:
Tamius Han 2021-04-01 21:40:46 +02:00
parent a0eeabbd50
commit 09253fe0a1
2 changed files with 4 additions and 4 deletions

View File

@ -117,7 +117,7 @@ export default {
data () {
return {
StretchType: StretchType,
AspectRatio: AspectRatio,
AspectRatioType: AspectRatioType,
}
},
created () {

View File

@ -108,7 +108,7 @@
<div class="flex flex-input">
<input type="number"
step="any"
:value="settings.active.StretchType.conditionalDifferencePercent"
:value="settings.active.stretch.conditionalDifferencePercent"
@input="updateStretchThreshold($event.target.value)"
>
</div>
@ -168,7 +168,7 @@ export default {
return {
StretchType: StretchType,
ExtensionMode: ExtensionMode,
VideoAlignment: VideoAlignment,
VideoAlignmentType: VideoAlignmentType,
stretchThreshold: 0,
corruptedSettingsError: false,
downloadPermissionError: false,
@ -198,7 +198,7 @@ export default {
if (!newThreshold || isNaN(newThreshold)) {
return;
}
this.settings.active.StretchType.conditionalDifferencePercent = newThreshold;
this.settings.active.stretch.conditionalDifferencePercent = newThreshold;
this.settings.save();
},
resetSettings() {