diff options
Diffstat (limited to 'js/stage/stage.reel/stage.js')
-rwxr-xr-x | js/stage/stage.reel/stage.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js index 755c7ff1..9784f14d 100755 --- a/js/stage/stage.reel/stage.js +++ b/js/stage/stage.reel/stage.js | |||
@@ -148,12 +148,12 @@ exports.Stage = Montage.create(Component, { | |||
148 | 148 | ||
149 | userContentLeft: { | 149 | userContentLeft: { |
150 | get: function() { return this._userContentLeft; }, | 150 | get: function() { return this._userContentLeft; }, |
151 | set: function(value) { this._userContentLeft = value; } | 151 | set: function(value) { this._userContentLeft = value;} |
152 | }, | 152 | }, |
153 | 153 | ||
154 | userContentTop: { | 154 | userContentTop: { |
155 | get: function() { return this._userContentTop; }, | 155 | get: function() { return this._userContentTop; }, |
156 | set: function(value) { this._userContentTop = value; } | 156 | set: function(value) { this._userContentTop = value;} |
157 | }, | 157 | }, |
158 | 158 | ||
159 | userContentBorder: { | 159 | userContentBorder: { |
@@ -439,12 +439,11 @@ exports.Stage = Montage.create(Component, { | |||
439 | */ | 439 | */ |
440 | handleScroll: { | 440 | handleScroll: { |
441 | value: function() { | 441 | value: function() { |
442 | |||
443 | this._scrollLeft = this._iframeContainer.scrollLeft; | 442 | this._scrollLeft = this._iframeContainer.scrollLeft; |
444 | this._scrollTop = this._iframeContainer.scrollTop; | 443 | this._scrollTop = this._iframeContainer.scrollTop; |
445 | 444 | ||
446 | this._userContentLeft = this._documentOffsetLeft - this._scrollLeft + this._userContentBorder; | 445 | this.userContentLeft = this._documentOffsetLeft - this._scrollLeft + this._userContentBorder; |
447 | this._userContentTop = this._documentOffsetTop - this._scrollTop + this._userContentBorder; | 446 | this.userContentTop = this._documentOffsetTop - this._scrollTop + this._userContentBorder; |
448 | 447 | ||
449 | // Need to clear the snap cache and set up the drag plane | 448 | // Need to clear the snap cache and set up the drag plane |
450 | //snapManager.setupDragPlaneFromPlane( workingPlane ); | 449 | //snapManager.setupDragPlaneFromPlane( workingPlane ); |
@@ -452,7 +451,6 @@ exports.Stage = Montage.create(Component, { | |||
452 | 451 | ||
453 | this.needsDraw = true; | 452 | this.needsDraw = true; |
454 | this.layout.draw(); | 453 | this.layout.draw(); |
455 | |||
456 | //this._toolsList.action("DrawHandles"); | 454 | //this._toolsList.action("DrawHandles"); |
457 | 455 | ||
458 | } | 456 | } |