diff --git a/src/js/app.js b/src/js/app.js index fe881ee..7804ab4 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -323,7 +323,7 @@ module.exports = new Vue({ showSwitchRotaryModeDialog: function(){ SvelteComponents.showDialog("SwitchRotary", { - isActive: this.is_rotary_active, + isActive: !this.is_rotary_active, switchMode: () => this.toggle_rotary() }); }, diff --git a/src/svelte-components/src/dialogs/SwitchRotaryDialog.svelte b/src/svelte-components/src/dialogs/SwitchRotaryDialog.svelte index 4619810..fdbf4be 100644 --- a/src/svelte-components/src/dialogs/SwitchRotaryDialog.svelte +++ b/src/svelte-components/src/dialogs/SwitchRotaryDialog.svelte @@ -21,7 +21,7 @@ Switch Rotary Mode - {isActive ? "Enable Rotary Mode?" : "Disable Rotary Mode?"} + {isActive ? "Turn on Rotary box?" : "Turn off Rotary box?"}