Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2023-05-15 09:19:37 +08:00
commit a7a525c65e
49 changed files with 1519 additions and 539 deletions

View file

@ -3071,7 +3071,10 @@ function nodeHasSize(node) {
}
let quads = node.getBoxQuads();
return quads.length && quads.some(quad => quad.bounds.width && quad.bounds.height);
return quads.some(quad => {
let bounds = quad.getBounds();
return bounds.width && bounds.height;
});
}
/**