diff options
author | Nivesh Rajbhandari | 2012-02-20 15:03:27 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-20 15:03:27 -0800 |
commit | 5b7e903bb0f32d1d59620d1d800ff260f49bfa48 (patch) | |
tree | 125c23aafa073aee37246a8663e9554893406b97 | |
parent | abf78e2d7a97d295ce5a1c425fd359d47379137e (diff) | |
download | ninja-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-x | js/stage/stage.reel/stage.js | 2 |
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 { |