diff options
author | Valerio Virgillito | 2012-03-22 16:00:28 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-03-22 16:00:28 -0700 |
commit | 686969216c6a2b19b32dc574d0cbcd38b01955f9 (patch) | |
tree | 97a8566566c4ba53cd6afb71d1d3841c60c6cc4b /js/components | |
parent | fdeed8051c3af538d28ca3bc599121cea483c22c (diff) | |
download | ninja-686969216c6a2b19b32dc574d0cbcd38b01955f9.tar.gz |
fixing the shape properties border bindings.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components')
-rwxr-xr-x | js/components/tools-properties/rect-properties.reel/rect-properties.js | 4 |
1 files changed, 2 insertions, 2 deletions
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..2afe36d5 100755 --- a/js/components/tools-properties/rect-properties.reel/rect-properties.js +++ b/js/components/tools-properties/rect-properties.reel/rect-properties.js | |||
@@ -33,9 +33,9 @@ exports.RectProperties = Montage.create(ToolProperties, { | |||
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]); | ||
37 | } else { | ||
38 | this._removeBindings([this.TRRadiusControl, this.BLRadiusControl, this.BRRadiusControl]); | 36 | this._removeBindings([this.TRRadiusControl, this.BLRadiusControl, this.BRRadiusControl]); |
37 | } else { | ||
38 | this._setBindings([this.TRRadiusControl, this.BLRadiusControl, this.BRRadiusControl]); | ||
39 | } | 39 | } |
40 | 40 | ||
41 | } | 41 | } |