diff options
author | Valerio Virgillito | 2012-05-14 17:28:00 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-14 17:28:00 -0700 |
commit | 8009663c4f1bbf5ae457393fb8a3454df2625071 (patch) | |
tree | 65ece2e94092cc5a177f830858008478df09d6d9 /js/helper-classes/3D | |
parent | 8f8eb57f4506987942745c3325492e939ed3caa8 (diff) | |
parent | 6fe05fc4f518000cf9a7af3c34381af16579a6d6 (diff) | |
download | ninja-8009663c4f1bbf5ae457393fb8a3454df2625071.tar.gz |
Merge branch 'dom-architecture' of github.com:Motorola-Mobility/ninja-internal into dom-architecture
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 | ///////////////////////////////////////////////////////// |