We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90040df commit 00554dfCopy full SHA for 00554df
src/RenderWebGL.js
@@ -773,6 +773,8 @@ class RenderWebGL extends EventEmitter {
773
// candidate drawables' bounds--since the background spans the entire stage, we must check
774
// everything that lies inside the drawable.
775
bounds = this._touchingBounds(drawableID);
776
+ // e.g. empty costume, or off the stage
777
+ if (bounds === null) return false;
778
} else if (candidates.length === 0) {
779
// If not checking for the background color, we can return early if there are no candidate drawables.
780
return false;
0 commit comments