🐛 Fix strokes don't update correctly

This commit is contained in:
Alejandro Alonso 2025-01-10 15:12:05 +01:00 committed by Andrey Antukh
parent 3af44641de
commit 642b6b1621
6 changed files with 95 additions and 65 deletions

View file

@ -23,11 +23,9 @@
_ (set! st/state store)
context (api/create-context "TEST")
page (. context -currentPage)
shape (.createRectangle context)
^js context (api/create-context "TEST")
^js page (. context -currentPage)
^js shape (.createRectangle context)
get-shape-path
#(vector :workspace-data :pages-index (aget page "$id") :objects (aget shape "$id") %)]