diff options
author | hwc487 | 2012-07-09 16:08:02 -0700 |
---|---|---|
committer | hwc487 | 2012-07-09 16:08:02 -0700 |
commit | 5085d0f67df89a21715308956004164597a6ba79 (patch) | |
tree | 2c896163143a66331205a39b0a3b1b45d51bf12a /js/components/hottext.reel | |
parent | 51f1691f792dbda9b740ded8aa0457c9406db156 (diff) | |
parent | 84b3327bd92faafab7954b5eb64c7abe24a3fe13 (diff) | |
download | ninja-5085d0f67df89a21715308956004164597a6ba79.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into GridFixes
Conflicts:
js/helper-classes/3D/StageLine.js
Diffstat (limited to 'js/components/hottext.reel')
-rwxr-xr-x | js/components/hottext.reel/hottext.html | 4 | ||||
-rwxr-xr-x | js/components/hottext.reel/hottext.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/js/components/hottext.reel/hottext.html b/js/components/hottext.reel/hottext.html index 5d14f49e..c13f36f8 100755 --- a/js/components/hottext.reel/hottext.html +++ b/js/components/hottext.reel/hottext.html | |||
@@ -1,4 +1,4 @@ | |||
1 | <!DOCTYPE html> | 1 | <!doctype html> |
2 | <!-- <copyright> | 2 | <!-- <copyright> |
3 | Copyright (c) 2012, Motorola Mobility, Inc | 3 | Copyright (c) 2012, Motorola Mobility, Inc |
4 | All Rights Reserved. | 4 | All Rights Reserved. |
@@ -44,7 +44,7 @@ POSSIBILITY OF SUCH DAMAGE. | |||
44 | } | 44 | } |
45 | } | 45 | } |
46 | </script> | 46 | </script> |
47 | 47 | ||
48 | </head> | 48 | </head> |
49 | <body> | 49 | <body> |
50 | <input data-montage-id="hottext" class="hottext"/> | 50 | <input data-montage-id="hottext" class="hottext"/> |
diff --git a/js/components/hottext.reel/hottext.js b/js/components/hottext.reel/hottext.js index f49bfc5f..5e362b46 100755 --- a/js/components/hottext.reel/hottext.js +++ b/js/components/hottext.reel/hottext.js | |||
@@ -214,7 +214,7 @@ var HotText = exports.HotText = Montage.create(SliderBase, { | |||
214 | 214 | ||
215 | var dX = clickPoint.x - this._xStart; | 215 | var dX = clickPoint.x - this._xStart; |
216 | var dY = clickPoint.y - this._yStart; | 216 | var dY = clickPoint.y - this._yStart; |
217 | 217 | ||
218 | var dXAbs = Math.abs(dX); | 218 | var dXAbs = Math.abs(dX); |
219 | var dYAbs = Math.abs(dY); | 219 | var dYAbs = Math.abs(dY); |
220 | 220 | ||
@@ -224,7 +224,7 @@ var HotText = exports.HotText = Montage.create(SliderBase, { | |||
224 | } | 224 | } |
225 | 225 | ||
226 | var incrementVal = dXAbs-4; // otherwise, the first value change will be 5 pixels | 226 | var incrementVal = dXAbs-4; // otherwise, the first value change will be 5 pixels |
227 | var multFactor = 1; | 227 | var multFactor = 1; |
228 | 228 | ||
229 | if(dXAbs > dYAbs) | 229 | if(dXAbs > dYAbs) |
230 | { | 230 | { |