mirror of
https://github.com/penpot/penpot.git
synced 2026-08-05 04:18:41 +00:00
🐛 Fix wasm playground fills size
This commit is contained in:
parent
dbb9971482
commit
eb76d16b3b
@ -84,7 +84,7 @@ export function clearShapeFills() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function addShapeSolidFill(argb) {
|
export function addShapeSolidFill(argb) {
|
||||||
const ptr = allocBytes(176);
|
const ptr = allocBytes(160);
|
||||||
const heap = getHeapU32();
|
const heap = getHeapU32();
|
||||||
const dv = new DataView(heap.buffer);
|
const dv = new DataView(heap.buffer);
|
||||||
dv.setUint8(ptr, 0x00, true);
|
dv.setUint8(ptr, 0x00, true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user