🐛 Fixes problem with text immediately after creation

This commit is contained in:
alonso.torres 2021-02-12 15:42:24 +01:00
parent a81d20a2d1
commit 9d49d781cc
3 changed files with 6 additions and 3 deletions

View file

@ -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))

View file

@ -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)