mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
✨ Properly check text shape on auto edition mode entering.
This commit is contained in:
parent
3040bcd6d4
commit
d170ff8456
1 changed files with 3 additions and 2 deletions
|
@ -468,8 +468,9 @@
|
|||
(rx/concat
|
||||
(rx/of (dwc/commit-changes [rchange] [uchange] {:commit-local? true})
|
||||
(dws/select-shapes (d/ordered-set id)))
|
||||
(->> (rx/of (start-edition-mode id))
|
||||
(rx/observe-on :async)))))))
|
||||
(when (= :text (:type attrs))
|
||||
(->> (rx/of (start-edition-mode id))
|
||||
(rx/observe-on :async))))))))
|
||||
|
||||
(defn- calculate-centered-box
|
||||
[state aspect-ratio]
|
||||
|
|
Loading…
Reference in a new issue