aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
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]);