mirror of
https://github.com/penpot/penpot.git
synced 2025-05-30 13:36:14 +02:00
🐛 Remove children correctly
This commit is contained in:
parent
82cf474863
commit
953db56a0d
4 changed files with 13 additions and 14 deletions
|
@ -198,9 +198,8 @@
|
|||
(when-not (empty? entries)
|
||||
(let [id (first entries)]
|
||||
(sr/heapu32-set-uuid id heap (mem/ptr8->ptr32 current-offset))
|
||||
(recur (rest entries) (+ current-offset CHILD-ENTRY-SIZE)))))
|
||||
|
||||
(h/call wasm/internal-module "_set_children")))))
|
||||
(recur (rest entries) (+ current-offset CHILD-ENTRY-SIZE)))))))
|
||||
(h/call wasm/internal-module "_set_children")))
|
||||
|
||||
(defn- get-string-length [string] (+ (count string) 1))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue