mirror of
https://github.com/penpot/penpot.git
synced 2025-01-06 14:50:20 -05:00
further adjustments to record video
This commit is contained in:
parent
b36c8cd52a
commit
32fe91398a
1 changed files with 2 additions and 2 deletions
|
@ -77,9 +77,9 @@
|
||||||
[ptr (alloc-rects shape-count)]
|
[ptr (alloc-rects shape-count)]
|
||||||
(doseq [index (take shape-count (iterate inc 0))]
|
(doseq [index (take shape-count (iterate inc 0))]
|
||||||
(let [mem (js/Float32Array. (.-buffer heap) (+ ptr (* rect-bytes index)) rect-bytes)
|
(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))
|
x2 (+ x1 (rand-int 256))
|
||||||
y1 (rand-int 1024)
|
y1 (rand-int 4096)
|
||||||
y2 (+ y1 (rand-int 256))]
|
y2 (+ y1 (rand-int 256))]
|
||||||
(set! shapes-ptr ptr)
|
(set! shapes-ptr ptr)
|
||||||
(set! shapes-size shape-count)
|
(set! shapes-size shape-count)
|
||||||
|
|
Loading…
Reference in a new issue