diff options
author | Jose Antonio Marquez | 2012-05-15 17:02:51 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-15 17:02:51 -0700 |
commit | b3f9a31e99a4c2b05792073e0cb15c4d517e5acf (patch) | |
tree | 9c39eeee2255b76aea5ade260af485f4a1089398 /js/stage/stage.reel | |
parent | 620ae8f53d4da25c65adb675c0b0ee187e5754fc (diff) | |
parent | 46bd3712329cd3c9311e50ed9ee4c2245bd1be5a (diff) | |
download | ninja-b3f9a31e99a4c2b05792073e0cb15c4d517e5acf.tar.gz |
Merge branch 'refs/heads/Ninja-DOM-Architecture' into Document
Diffstat (limited to 'js/stage/stage.reel')
-rwxr-xr-x | js/stage/stage.reel/stage.js | 4 |
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 | }, |