diff options
author | Valerio Virgillito | 2012-05-14 14:38:48 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-14 14:38:48 -0700 |
commit | 8d367ec7b4749ad390a0e15bb0418efc60970b54 (patch) | |
tree | a6643741f2022aa934f3b39e9ad431a10cdb6752 /js/helper-classes/3D | |
parent | 05db3c7df3126cbd770112cd26a39aab91a95c17 (diff) | |
parent | 734b6ad96d25bb67d0db4a0a75c331468e194809 (diff) | |
download | ninja-8d367ec7b4749ad390a0e15bb0418efc60970b54.tar.gz |
Merge pull request #226 from mqg734/Dom-Architecture
Fixing 3d to work in banner templates.
Diffstat (limited to 'js/helper-classes/3D')
-rwxr-xr-x | js/helper-classes/3D/view-utils.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js index 22446403..8c338f84 100755 --- a/js/helper-classes/3D/view-utils.js +++ b/js/helper-classes/3D/view-utils.js | |||
@@ -358,9 +358,13 @@ exports.ViewUtils = Montage.create(Component, { | |||
358 | { | 358 | { |
359 | pt = this.childToParent( pt, child ); | 359 | pt = this.childToParent( pt, child ); |
360 | 360 | ||
361 | if (child === this._stageElement) break; | 361 | // if (child === this._stageElement) break; |
362 | // child = child.offsetParent; | ||
362 | 363 | ||
364 | if (child === this._stageElement) break; | ||
365 | if (child === this._rootElement) break; | ||
363 | child = child.offsetParent; | 366 | child = child.offsetParent; |
367 | if (child === this._rootElement) break; | ||
364 | } | 368 | } |
365 | 369 | ||
366 | ///////////////////////////////////////////////////////// | 370 | ///////////////////////////////////////////////////////// |