aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/binding/binding-item.reel/binding-item.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/panels/binding/binding-item.reel/binding-item.js b/js/panels/binding/binding-item.reel/binding-item.js
index a2b66008..2dad2aaf 100644
--- a/js/panels/binding/binding-item.reel/binding-item.js
+++ b/js/panels/binding/binding-item.reel/binding-item.js
@@ -77,7 +77,9 @@ exports.BindingItem = Montage.create(Component, {
77 }, 77 },
78 set: function(value) { 78 set: function(value) {
79 if(value === this._oneway) { return; } 79 if(value === this._oneway) { return; }
80
80 this._oneway = value; 81 this._oneway = value;
82
81 this.needsDraw = true; 83 this.needsDraw = true;
82 } 84 }
83 }, 85 },
@@ -87,6 +89,10 @@ exports.BindingItem = Montage.create(Component, {
87 handleDirectionToggleButtonAction : { 89 handleDirectionToggleButtonAction : {
88 value: function(e) { 90 value: function(e) {
89 this.oneway = !this.oneway; 91 this.oneway = !this.oneway;
92 this.application.ninja.objectsController.editBinding(this.bindingArgs, {
93 oneway: !this.bindingArgs.oneway
94 });
95 this.application.ninja.objectsController.
90 } 96 }
91 }, 97 },
92 98