mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 04:29:31 +00:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
5c6ad8e236
@ -15,6 +15,7 @@
|
|||||||
[app.common.math :as mth]
|
[app.common.math :as mth]
|
||||||
[app.common.text :as txt]
|
[app.common.text :as txt]
|
||||||
[app.common.types.modifiers :as ctm]
|
[app.common.types.modifiers :as ctm]
|
||||||
|
[app.common.uuid :as uuid]
|
||||||
[app.main.data.workspace.modifiers :as mdwm]
|
[app.main.data.workspace.modifiers :as mdwm]
|
||||||
[app.main.data.workspace.texts :as dwt]
|
[app.main.data.workspace.texts :as dwt]
|
||||||
[app.main.fonts :as fonts]
|
[app.main.fonts :as fonts]
|
||||||
@ -184,7 +185,7 @@
|
|||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
(fn [shape node]
|
(fn [shape node]
|
||||||
;; Unique to indentify the pending state
|
;; Unique to indentify the pending state
|
||||||
(let [uid (js/Symbol)]
|
(let [uid (uuid/next)]
|
||||||
(swap! pending-update* assoc uid (:id shape))
|
(swap! pending-update* assoc uid (:id shape))
|
||||||
(p/then
|
(p/then
|
||||||
(update-text-shape shape node)
|
(update-text-shape shape node)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user