mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-07-23 12:38:53 -04:00
Move matrix + silhouette updates into method
This commit is contained in:
parent
d73aeb1ac1
commit
e7b1504117
5 changed files with 27 additions and 21 deletions
test/integration
|
@ -42,8 +42,7 @@
|
|||
if (!(drawable._visible && drawable.skin)) {
|
||||
return;
|
||||
}
|
||||
drawable.updateMatrix();
|
||||
drawable.skin.updateSilhouette();
|
||||
drawable.updateCPURenderAttributes();
|
||||
return { id, drawable };
|
||||
}).reverse().filter(Boolean);
|
||||
const color = new Uint8ClampedArray(3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue