Fixed new actions not saving
This commit is contained in:
parent
2e6a2dd92a
commit
a783c75b98
@ -143,7 +143,7 @@ class Scaler {
|
|||||||
videoDimensions.yFactor = videoDimensions.xFactor;
|
videoDimensions.yFactor = videoDimensions.xFactor;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(Debug.debug){
|
if (Debug.debug && Debug.scaler) {
|
||||||
console.log("[Scaler::calculateCrop] Crop factor calculated — ", videoDimensions.xFactor);
|
console.log("[Scaler::calculateCrop] Crop factor calculated — ", videoDimensions.xFactor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -219,6 +219,9 @@ export default {
|
|||||||
this.action = JSON.parse(JSON.stringify(this.action));
|
this.action = JSON.parse(JSON.stringify(this.action));
|
||||||
},
|
},
|
||||||
saveSettings() {
|
saveSettings() {
|
||||||
|
if (this.currentCmdIndex < 0) {
|
||||||
|
this.settings.active.actions.push(this.action);
|
||||||
|
}
|
||||||
this.settings.save();
|
this.settings.save();
|
||||||
this.close();
|
this.close();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user