add same activate/desactivate behavior for line tool

This commit is contained in:
Romuald du Song
2021-07-15 15:12:09 +02:00
parent ef0d085e22
commit 86572c270d

View File

@@ -2580,7 +2580,11 @@ var SpacedeckSections = {
start_drawing_line: function(evt) {
this.deselect();
this.active_tool = "line";
if (this.active_tool == "line") {
this.active_tool = "pointer";
} else {
this.active_tool = "line";
}
this.opened_dialog = "none";
},