aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/3D
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-18 14:01:00 -0700
committerValerio Virgillito2012-05-18 14:01:00 -0700
commit66edf78c7e5df11218ef733686965beab05c7c7d (patch)
treedc3ce4dd828501c88de7c275b6d04efa8972c209 /js/helper-classes/3D
parent24d1873302b2fffc25d254e15e8aa36f59eedb88 (diff)
downloadninja-66edf78c7e5df11218ef733686965beab05c7c7d.tar.gz
fixing a scrolling issue when multiple documents are switched
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/helper-classes/3D')
-rwxr-xr-xjs/helper-classes/3D/view-utils.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js
index 20f61be1..75530af3 100755
--- a/js/helper-classes/3D/view-utils.js
+++ b/js/helper-classes/3D/view-utils.js
@@ -1303,15 +1303,6 @@ exports.ViewUtils = Montage.create(Component, {
1303// MISCELLANEOUS 1303// MISCELLANEOUS
1304// event.layerX/Y: var pt = viewUtils.getMousePoint(event); 1304// event.layerX/Y: var pt = viewUtils.getMousePoint(event);
1305 1305
1306 getStageDimension: {
1307 value: function()
1308 {
1309 var width = parseInt(this.application.ninja.stage.documentRoot.elementModel.stageDimension.style.getProperty("width"));
1310 var height= parseInt(this.application.ninja.stage.documentRoot.elementModel.stageDimension.style.getProperty("height"));
1311 return[width,height];
1312 }
1313 },
1314
1315 getStage: { 1306 getStage: {
1316 value: function() 1307 value: function()
1317 { 1308 {