Unbork settings page even more
This commit is contained in:
parent
a0eeabbd50
commit
09253fe0a1
@ -117,7 +117,7 @@ export default {
|
||||
data () {
|
||||
return {
|
||||
StretchType: StretchType,
|
||||
AspectRatio: AspectRatio,
|
||||
AspectRatioType: AspectRatioType,
|
||||
}
|
||||
},
|
||||
created () {
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user