aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-20 15:03:27 -0800
committerNivesh Rajbhandari2012-02-20 15:03:27 -0800
commit5b7e903bb0f32d1d59620d1d800ff260f49bfa48 (patch)
tree125c23aafa073aee37246a8663e9554893406b97
parentabf78e2d7a97d295ce5a1c425fd359d47379137e (diff)
downloadninja-5b7e903bb0f32d1d59620d1d800ff260f49bfa48.tar.gz
Some more tweaks to not being able to select elements in top/side view.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-xjs/stage/stage.reel/stage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index 6a8afad4..5734e317 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -522,7 +522,7 @@ exports.Stage = Montage.create(Component, {
522 elt = this.application.ninja.currentDocument.GetElementFromPoint(point.x + this.scrollLeft,point.y + this.scrollTop); 522 elt = this.application.ninja.currentDocument.GetElementFromPoint(point.x + this.scrollLeft,point.y + this.scrollTop);
523 523
524 // workaround Chrome 3d bug 524 // workaround Chrome 3d bug
525 if(elt === this._viewport) 525 if(this.application.ninja.currentDocument.inExclusion(elt) !== -1)
526 { 526 {
527 return this._getElementUsingSnapping(point); 527 return this._getElementUsingSnapping(point);
528 } else { 528 } else {