mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 03:27:20 +02:00
🐛 Fixes problem with text immediately after creation
This commit is contained in:
parent
a81d20a2d1
commit
9d49d781cc
3 changed files with 6 additions and 3 deletions
|
@ -96,6 +96,9 @@
|
|||
(def current-hover
|
||||
(l/derived :hover workspace-local))
|
||||
|
||||
(def editors
|
||||
(l/derived :editors workspace-local))
|
||||
|
||||
(def workspace-layout
|
||||
(l/derived :workspace-layout st/state))
|
||||
|
||||
|
|
|
@ -285,8 +285,8 @@
|
|||
(let [ids [(:id shape)]
|
||||
type (:type shape)
|
||||
|
||||
local (deref refs/workspace-local)
|
||||
editor (get-in local [:editors (:id shape)])
|
||||
editors (mf/deref refs/editors)
|
||||
editor (get editors (:id shape))
|
||||
|
||||
measure-values (select-keys shape measure-attrs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue