add conditional checks

This commit is contained in:
sanjayk03-dev
2025-05-23 19:11:25 +05:30
parent 2b5ee6cc65
commit 19f362c2f8
2 changed files with 11 additions and 2 deletions

View File

@@ -243,7 +243,7 @@ module.exports = new Vue({
},
enable_rotary: function() {
if(this.state["2an"] == 1 || this.state["2an"] == 3) return true;
if((this.state["2an"] == 1 || this.state["2an"] == 3) && this.is_idle) return true;
return false;
}
},