aboutsummaryrefslogtreecommitdiff
path: root/js/stage/stage.reel/stage.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-15 16:10:01 -0700
committerValerio Virgillito2012-05-15 16:10:01 -0700
commit46bd3712329cd3c9311e50ed9ee4c2245bd1be5a (patch)
treef32e8b27851f71a82ca53b06802bbe10f4530583 /js/stage/stage.reel/stage.js
parent1c91748d8517656c0982c6fc194cd0010d02fb63 (diff)
parent94855a2c1074f67f158b94ca0d61c51ee46c51b5 (diff)
downloadninja-46bd3712329cd3c9311e50ed9ee4c2245bd1be5a.tar.gz
Merge pull request #235 from mencio/dom-architecture
Dom architecture - code cleanup and fixed mouse wheel scroll
Diffstat (limited to 'js/stage/stage.reel/stage.js')
-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 e66c5b7b..deed4112 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -387,9 +387,9 @@ exports.Stage = Montage.create(Component, {
387 handleMousewheel: { 387 handleMousewheel: {
388 value: function(event) { 388 value: function(event) {
389 if(event._event.wheelDelta > 0) { 389 if(event._event.wheelDelta > 0) {
390 this._iframeContainer.scrollTop -= 20; 390 this.application.ninja.currentDocument.model.views.design.document.body.scrollTop -= 20;
391 } else { 391 } else {
392 this._iframeContainer.scrollTop += 20; 392 this.application.ninja.currentDocument.model.views.design.document.body.scrollTop += 20;
393 } 393 }
394 } 394 }
395 }, 395 },