0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-04 13:50:12 -05:00

further adjustments to record video

This commit is contained in:
Belén Albeza 2024-10-23 13:07:29 +02:00
parent b36c8cd52a
commit 32fe91398a

View file

@ -77,9 +77,9 @@
[ptr (alloc-rects shape-count)]
(doseq [index (take shape-count (iterate inc 0))]
(let [mem (js/Float32Array. (.-buffer heap) (+ ptr (* rect-bytes index)) rect-bytes)
x1 (rand-int 1024)
x1 (rand-int 4096)
x2 (+ x1 (rand-int 256))
y1 (rand-int 1024)
y1 (rand-int 4096)
y2 (+ y1 (rand-int 256))]
(set! shapes-ptr ptr)
(set! shapes-size shape-count)