aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools')
-rw-r--r--js/tools/bindingTool.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/tools/bindingTool.js b/js/tools/bindingTool.js
index 282e3408..f9e81223 100644
--- a/js/tools/bindingTool.js
+++ b/js/tools/bindingTool.js
@@ -18,13 +18,14 @@ exports.BindingTool = Montage.create(ModifierToolBase, {
18 if (doActivate) 18 if (doActivate)
19 { 19 {
20 NJevent("enableStageMove"); 20 NJevent("enableStageMove");
21 document.body.classList.add("ws-binding"); 21 this.application.ninja.workspaceMode = "binding";
22 22
23 } 23 }
24 else 24 else
25 { 25 {
26 NJevent("disableStageMove"); 26 NJevent("disableStageMove");
27 document.body.classList.remove("ws-binding"); 27 debugger;
28 this.application.ninja.workspaceMode = "default";
28 } 29 }
29 } 30 }
30 }, 31 },