aboutsummaryrefslogtreecommitdiff
path: root/js/components/colorwheel.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/colorwheel.reel')
-rwxr-xr-xjs/components/colorwheel.reel/colorwheel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/components/colorwheel.reel/colorwheel.js b/js/components/colorwheel.reel/colorwheel.js
index 97a1751d..d2664f14 100755
--- a/js/components/colorwheel.reel/colorwheel.js
+++ b/js/components/colorwheel.reel/colorwheel.js
@@ -270,7 +270,7 @@ exports.ColorWheel = Montage.create(Component, {
270 // 270 //
271 this._isMouseDown = true; 271 this._isMouseDown = true;
272 // 272 //
273 if ((e.offsetY < this._math.swatchPosition || e.offsetY > this._math.swatchLength+this._math.swatchPosition) || (e.offsetX < this._math.swatchPosition || e.offsetX > this._math.swatchLength+this._math.swatchPosition)) { 273 if ((e.offsetY < this._math.swatchPosition || e.offsetY > this._math.swatchLength+this._math.swatchPosition) || (e.offsetX < this._math.swatchPosition || e.offsetX > this._math.swatchLength+this._math.swatchPosition)) {
274 this._scanningMode = 'wheel'; 274 this._scanningMode = 'wheel';
275 } else { 275 } else {
276 this._scanningMode = 'swatch'; 276 this._scanningMode = 'swatch';
@@ -283,7 +283,7 @@ exports.ColorWheel = Montage.create(Component, {
283 value: function(e) { 283 value: function(e) {
284 var math = this._math; 284 var math = this._math;
285 // 285 //
286 if ((e.offsetY < math.swatchPosition || e.offsetY > math.swatchLength+math.swatchPosition) || (e.offsetX < math.swatchPosition || e.offsetX > math.swatchLength+math.swatchPosition)) { 286 if ((e.offsetY < math.swatchPosition || e.offsetY > math.swatchLength+math.swatchPosition) || (e.offsetX < math.swatchPosition || e.offsetX > math.swatchLength+math.swatchPosition)) {
287 if (this._scanningMode === 'wheel') { 287 if (this._scanningMode === 'wheel') {
288 this.mouseSetWheelAngle(e); 288 this.mouseSetWheelAngle(e);
289 } 289 }