diff options
Diffstat (limited to 'js/document/views')
-rwxr-xr-x | js/document/views/design.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/js/document/views/design.js b/js/document/views/design.js index 427ef706..4f5f8da9 100755 --- a/js/document/views/design.js +++ b/js/document/views/design.js | |||
@@ -94,16 +94,6 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
94 | //////////////////////////////////////////////////////////////////// | 94 | //////////////////////////////////////////////////////////////////// |
95 | // | 95 | // |
96 | 96 | ||
97 | initialPaddingLeft: { | ||
98 | value: 0 | ||
99 | }, | ||
100 | |||
101 | initialPaddingTop: { | ||
102 | value: 0 | ||
103 | }, | ||
104 | //////////////////////////////////////////////////////////////////// | ||
105 | // | ||
106 | |||
107 | // | 97 | // |
108 | initialize: { | 98 | initialize: { |
109 | value: function (parent) { | 99 | value: function (parent) { |
@@ -225,11 +215,6 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
225 | this._bodyFragment = null; | 215 | this._bodyFragment = null; |
226 | //Calling standard method to finish opening document | 216 | //Calling standard method to finish opening document |
227 | this.bodyContentLoaded(null); | 217 | this.bodyContentLoaded(null); |
228 | //TODO: Move this to be set via the controller | ||
229 | // this.application.ninja.stage.documentOffsetLeft = parseInt((this.document.body.scrollWidth - this._template.size.width)/2); | ||
230 | // this.application.ninja.stage.documentOffsetTop = parseInt((this.document.body.scrollHeight - this._template.size.height)/2); | ||
231 | // this.initialPaddingLeft = parseInt((this.document.body.scrollWidth - this._template.size.width)/2); | ||
232 | // this.initialPaddingTop = parseInt((this.document.body.scrollHeight - this._template.size.height)/2); | ||
233 | } | 218 | } |
234 | }, | 219 | }, |
235 | //////////////////////////////////////////////////////////////////// | 220 | //////////////////////////////////////////////////////////////////// |