diff options
author | Nivesh Rajbhandari | 2012-06-25 09:47:11 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-06-25 09:47:11 -0700 |
commit | 3b5e824faf4b7fa685498b45477cb85e9eec31a1 (patch) | |
tree | c54bda74d815b3202897960841d1c8fb15279bfe /js/helper-classes/3D | |
parent | 99d50a7dc1403d1d918a8e4a6f7876c559d5e3a9 (diff) | |
download | ninja-3b5e824faf4b7fa685498b45477cb85e9eec31a1.tar.gz |
When reclaiming stage's negative scroll padding, we need to use the template's left and top padding as the minimum values when switching between documents.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/helper-classes/3D')
-rwxr-xr-x | js/helper-classes/3D/draw-utils.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/helper-classes/3D/draw-utils.js b/js/helper-classes/3D/draw-utils.js index 42b759b5..5d210d41 100755 --- a/js/helper-classes/3D/draw-utils.js +++ b/js/helper-classes/3D/draw-utils.js | |||
@@ -145,6 +145,8 @@ var DrawUtils = exports.DrawUtils = Montage.create(Component, { | |||
145 | if(useStageValues) { | 145 | if(useStageValues) { |
146 | initL = stage.userPaddingLeft; | 146 | initL = stage.userPaddingLeft; |
147 | initT = stage.userPaddingTop; | 147 | initT = stage.userPaddingTop; |
148 | minLeft = stage.templateLeft; | ||
149 | minTop = stage.templateTop; | ||
148 | this._recalculateScrollOffsets = false; | 150 | this._recalculateScrollOffsets = false; |
149 | } | 151 | } |
150 | for(i=0; i<len; i++) { | 152 | for(i=0; i<len; i++) { |