mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2026-01-29 14:35:26 +01:00
add same activate/desactivate behavior for arrow tool
This commit is contained in:
@@ -2574,7 +2574,11 @@ var SpacedeckSections = {
|
|||||||
|
|
||||||
start_drawing_arrow: function(evt) {
|
start_drawing_arrow: function(evt) {
|
||||||
this.deselect();
|
this.deselect();
|
||||||
|
if (this.active_tool == "arrow") {
|
||||||
|
this.active_tool = "pointer";
|
||||||
|
} else {
|
||||||
this.active_tool = "arrow";
|
this.active_tool = "arrow";
|
||||||
|
}
|
||||||
this.opened_dialog = "none";
|
this.opened_dialog = "none";
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user