fixup more code broken by ai

This commit is contained in:
Stewart Allen 2025-07-05 17:06:38 -04:00
commit 76f9ce2c25
13 changed files with 161 additions and 351 deletions

View file

@ -752,12 +752,11 @@ class Widget {
*/
render(stack) {
const mark = Date.now();
if (this.slices)
this.slices.forEach(slice => {
for (let slice of this.slices || []) {
if (slice.layers) {
stack.add(slice.layers);
}
});
}
return Date.now() - mark;
}