From eb76d16b3b3cbea4d87632dc9a5ce189f2cc9ff0 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Mon, 12 May 2025 12:04:59 +0200 Subject: [PATCH] :bug: Fix wasm playground fills size --- frontend/resources/wasm-playground/js/lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/resources/wasm-playground/js/lib.js b/frontend/resources/wasm-playground/js/lib.js index f7d534946..23656a280 100644 --- a/frontend/resources/wasm-playground/js/lib.js +++ b/frontend/resources/wasm-playground/js/lib.js @@ -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);