diff options
Diffstat (limited to 'js/components/gradientpicker.reel')
-rwxr-xr-x | js/components/gradientpicker.reel/gradientpicker.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/components/gradientpicker.reel/gradientpicker.js b/js/components/gradientpicker.reel/gradientpicker.js index 937b473b..f35a1fff 100755 --- a/js/components/gradientpicker.reel/gradientpicker.js +++ b/js/components/gradientpicker.reel/gradientpicker.js | |||
@@ -94,7 +94,7 @@ exports.GradientPicker = Montage.create(Component, { | |||
94 | this._trackData.width = parseInt(getComputedStyle(this.trackChips).getPropertyCSSValue('width').cssText); | 94 | this._trackData.width = parseInt(getComputedStyle(this.trackChips).getPropertyCSSValue('width').cssText); |
95 | //TODO: Fix events and remove this hack | 95 | //TODO: Fix events and remove this hack |
96 | this.trackCover.addEventListener('mouseover', function () { | 96 | this.trackCover.addEventListener('mouseover', function () { |
97 | if (!this._updating) { | 97 | if (!this._updating) { |
98 | this.trackCover.style.display = 'none'; | 98 | this.trackCover.style.display = 'none'; |
99 | } | 99 | } |
100 | }.bind(this), true); | 100 | }.bind(this), true); |
@@ -105,7 +105,7 @@ exports.GradientPicker = Montage.create(Component, { | |||
105 | // | 105 | // |
106 | this.radioRadial.addEventListener('change', function (e){ | 106 | this.radioRadial.addEventListener('change', function (e){ |
107 | this.mode = 'radial'; | 107 | this.mode = 'radial'; |
108 | }.bind(this), true); | 108 | }.bind(this), true); |
109 | } | 109 | } |
110 | }, | 110 | }, |
111 | //////////////////////////////////////////////////////////////////// | 111 | //////////////////////////////////////////////////////////////////// |
@@ -139,7 +139,7 @@ exports.GradientPicker = Montage.create(Component, { | |||
139 | var point = webkitConvertPointFromNodeToPage(this.trackMain, new WebKitPoint(0, 0)); | 139 | var point = webkitConvertPointFromNodeToPage(this.trackMain, new WebKitPoint(0, 0)); |
140 | //Setting position of track to calculate movement | 140 | //Setting position of track to calculate movement |
141 | this._trackData.x = point.x; | 141 | this._trackData.x = point.x; |
142 | this._trackData.y = point.y; | 142 | this._trackData.y = point.y; |
143 | } | 143 | } |
144 | }, | 144 | }, |
145 | //////////////////////////////////////////////////////////////////// | 145 | //////////////////////////////////////////////////////////////////// |