Skip to content

Commit

Permalink
Fix error when clicking a list watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan committed Feb 10, 2015
1 parent c972162 commit 262cd98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pixie/pixie.js
Original file line number Diff line number Diff line change
Expand Up @@ -5586,7 +5586,7 @@
var x = e.clientX - bb.left;
var y = e.clientY - bb.top;
var target = this.objectFromPoint(x, y);
if (target) this.editor.exec.triggerClick(target);
if (target && target.isSprite) this.editor.exec.triggerClick(target);
};

StagePanel.prototype.installProject = function(stage) {
Expand Down

0 comments on commit 262cd98

Please sign in to comment.