aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage.reel/stage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index 44d6eadb..7025c692 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -193,7 +193,7 @@ exports.Stage = Montage.create(Component, {
193 this._userPaddingLeft = value; 193 this._userPaddingLeft = value;
194 this._documentOffsetLeft = -value; 194 this._documentOffsetLeft = -value;
195 this.application.ninja.currentDocument.model.documentRoot.ownerDocument.getElementsByTagName("HTML")[0].style["padding-left"] = -value + "px"; 195 this.application.ninja.currentDocument.model.documentRoot.ownerDocument.getElementsByTagName("HTML")[0].style["padding-left"] = -value + "px";
196 this.userContentLeft = this._documentOffsetLeft; 196 this.userContentLeft = this._documentOffsetLeft - this._scrollLeft;
197 this.updatedStage = true; 197 this.updatedStage = true;
198 } 198 }
199 }, 199 },
@@ -204,7 +204,7 @@ exports.Stage = Montage.create(Component, {
204 this._userPaddingTop = value; 204 this._userPaddingTop = value;
205 this._documentOffsetTop = -value; 205 this._documentOffsetTop = -value;
206 this.application.ninja.currentDocument.model.documentRoot.ownerDocument.getElementsByTagName("HTML")[0].style["padding-top"] = -value + "px"; 206 this.application.ninja.currentDocument.model.documentRoot.ownerDocument.getElementsByTagName("HTML")[0].style["padding-top"] = -value + "px";
207 this.userContentTop = this._documentOffsetTop; 207 this.userContentTop = this._documentOffsetTop - this._scrollTop;
208 this.updatedStage = true; 208 this.updatedStage = true;
209 } 209 }
210 }, 210 },