aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-22 16:00:28 -0700
committerValerio Virgillito2012-03-22 16:13:36 -0700
commit007c5c91c91a2b6359ee4b14501190a81ba2a05e (patch)
treebd7441c98af2d9e689b6c1270515ed96d28b2615 /js
parentfdeed8051c3af538d28ca3bc599121cea483c22c (diff)
downloadninja-007c5c91c91a2b6359ee4b14501190a81ba2a05e.tar.gz
fixing the shape properties border bindings.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js')
-rwxr-xr-xjs/components/tools-properties/rect-properties.reel/rect-properties.html1
-rwxr-xr-xjs/components/tools-properties/rect-properties.reel/rect-properties.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/js/components/tools-properties/rect-properties.reel/rect-properties.html b/js/components/tools-properties/rect-properties.reel/rect-properties.html
index fd51b9ad..ceb761b9 100755
--- a/js/components/tools-properties/rect-properties.reel/rect-properties.html
+++ b/js/components/tools-properties/rect-properties.reel/rect-properties.html
@@ -54,6 +54,7 @@
54 "prototype": "montage/ui/toggle-button.reel", 54 "prototype": "montage/ui/toggle-button.reel",
55 "properties": { 55 "properties": {
56 "element": {"#": "lockButton"}, 56 "element": {"#": "lockButton"},
57 "pressed": true,
57 "pressedClass": "lockUp", 58 "pressedClass": "lockUp",
58 "preventFocus": true, 59 "preventFocus": true,
59 "identifier": "ratio" 60 "identifier": "ratio"
diff --git a/js/components/tools-properties/rect-properties.reel/rect-properties.js b/js/components/tools-properties/rect-properties.reel/rect-properties.js
index cc99cca6..f023f4bb 100755
--- a/js/components/tools-properties/rect-properties.reel/rect-properties.js
+++ b/js/components/tools-properties/rect-properties.reel/rect-properties.js
@@ -30,7 +30,7 @@ exports.RectProperties = Montage.create(ToolProperties, {
30 30
31 handleLockButtonAction: { 31 handleLockButtonAction: {
32 value: function(event) { 32 value: function(event) {
33 this.TRRadiusControl.enabled = this.BLRadiusControl.enabled = this.BRRadiusControl.enabled = this.lockButton.pressed; 33 this.TRRadiusControl.enabled = this.BLRadiusControl.enabled = this.BRRadiusControl.enabled = !this.lockButton.pressed;
34 34
35 if(this.lockButton.pressed) { 35 if(this.lockButton.pressed) {
36 this._setBindings([this.TRRadiusControl, this.BLRadiusControl, this.BRRadiusControl]); 36 this._setBindings([this.TRRadiusControl, this.BLRadiusControl, this.BRRadiusControl]);