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 cc5fea8 commit c419179Copy full SHA for c419179
src/RenderWebGL.js
@@ -1304,6 +1304,11 @@ class RenderWebGL extends EventEmitter {
1304
drawable.updateMatrix();
1305
drawable.skin.updateSilhouette();
1306
const candidateBounds = drawable.getFastBounds();
1307
+
1308
+ // Push bounds out to integers. If a drawable extends out into half a pixel,
1309
+ // that half-pixel still needs to be tested.
1310
+ candidateBounds.snapToInt();
1311
1312
if (bounds.intersects(candidateBounds)) {
1313
result.push({
1314
id,
0 commit comments