mirror of
https://github.com/penpot/penpot.git
synced 2025-03-15 09:11:21 -05:00
🐛 Fix issues introduced in previous merge
This commit is contained in:
parent
32b8c17dad
commit
978b309b04
3 changed files with 2 additions and 3 deletions
|
@ -1487,7 +1487,7 @@
|
|||
page-id (:current-page-id state)
|
||||
frame-id (-> (wsh/lookup-page-objects state page-id)
|
||||
(ctst/top-nested-frame @ms/mouse-position))
|
||||
shape (cp/setup-rect-selrect
|
||||
shape (cts/setup-rect-selrect
|
||||
{:id id
|
||||
:type :text
|
||||
:name "Text"
|
||||
|
|
|
@ -103,7 +103,6 @@
|
|||
(gpt/point (+ (:width main-instance-shape) 50) 0))
|
||||
|
||||
component-root (ctk/get-component-root component)
|
||||
frame-id (ctst/top-nested-frame objects (gpt/add orig-pos delta))
|
||||
|
||||
[new-component-shape new-component-shapes _]
|
||||
(ctst/clone-object component-root
|
||||
|
|
|
@ -285,7 +285,7 @@
|
|||
page-id (:current-page-id state)
|
||||
frame-id (-> (wsh/lookup-page-objects state page-id)
|
||||
(ctst/top-nested-frame {:x frame-x :y frame-y}))
|
||||
shape (-> (cp/make-minimal-shape type)
|
||||
shape (-> (cts/make-minimal-shape type)
|
||||
(merge data)
|
||||
(merge {:x x :y y})
|
||||
(assoc :frame-id frame-id)
|
||||
|
|
Loading…
Add table
Reference in a new issue