Merge pull request #6459 from penpot/superalex-fix-wasm-playground-fills-size

🐛 Fix wasm playground fills size
This commit is contained in:
Alejandro Alonso 2025-05-13 06:23:48 +02:00 committed by GitHub
commit c2b67d7c67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,7 +84,7 @@ export function clearShapeFills() {
}
export function addShapeSolidFill(argb) {
const ptr = allocBytes(176);
const ptr = allocBytes(160);
const heap = getHeapU32();
const dv = new DataView(heap.buffer);
dv.setUint8(ptr, 0x00, true);