diff --git a/src/ext/lib/video-transform/Scaler.js b/src/ext/lib/video-transform/Scaler.js index 5927c02..b3b4739 100644 --- a/src/ext/lib/video-transform/Scaler.js +++ b/src/ext/lib/video-transform/Scaler.js @@ -143,7 +143,7 @@ class Scaler { videoDimensions.yFactor = videoDimensions.xFactor; } - if(Debug.debug){ + if (Debug.debug && Debug.scaler) { console.log("[Scaler::calculateCrop] Crop factor calculated — ", videoDimensions.xFactor); } diff --git a/src/options/controls-settings/AddEditActionPopup.vue b/src/options/controls-settings/AddEditActionPopup.vue index 2787193..6f2e12e 100644 --- a/src/options/controls-settings/AddEditActionPopup.vue +++ b/src/options/controls-settings/AddEditActionPopup.vue @@ -219,6 +219,9 @@ export default { this.action = JSON.parse(JSON.stringify(this.action)); }, saveSettings() { + if (this.currentCmdIndex < 0) { + this.settings.active.actions.push(this.action); + } this.settings.save(); this.close(); },