diff options
Diffstat (limited to 'js/helper-classes/3D/view-utils.js')
-rwxr-xr-x | js/helper-classes/3D/view-utils.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js index 5dc099ee..6da6de0e 100755 --- a/js/helper-classes/3D/view-utils.js +++ b/js/helper-classes/3D/view-utils.js | |||
@@ -359,11 +359,9 @@ exports.ViewUtils = Montage.create(Component, { | |||
359 | { | 359 | { |
360 | pt = this.childToParent( pt, child ); | 360 | pt = this.childToParent( pt, child ); |
361 | 361 | ||
362 | // if (parent === this._rootElement) break; | ||
363 | if (child === this._stageElement) break; | 362 | if (child === this._stageElement) break; |
364 | 363 | ||
365 | child = parent; | 364 | child = parent; |
366 | parent = parent.offsetParent; | ||
367 | } | 365 | } |
368 | 366 | ||
369 | ///////////////////////////////////////////////////////// | 367 | ///////////////////////////////////////////////////////// |