mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 18:06:38 +02:00
🐛 Fix strokes don't update correctly
This commit is contained in:
parent
3af44641de
commit
642b6b1621
6 changed files with 95 additions and 65 deletions
|
@ -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") %)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue