mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 10:38:13 -05:00
🐛 Fix unexpected text positioning
This commit is contained in:
parent
7f611c89e1
commit
8285cb8f62
1 changed files with 1 additions and 3 deletions
|
@ -93,9 +93,7 @@
|
|||
rtl? (= "rtl" (:direction data))
|
||||
props (-> #js {:key (dm/str "text-" (:id shape) "-" index)
|
||||
:x (if rtl? (+ (:x data) (:width data)) (:x data))
|
||||
:y (if (cf/check-browser? :safari)
|
||||
(- (:y data) (:height data))
|
||||
(:y data))
|
||||
:y (- (:y data) (:height data))
|
||||
:transform (position-data-transform shape data)
|
||||
:alignmentBaseline alignment-bl
|
||||
:dominantBaseline dominant-bl
|
||||
|
|
Loading…
Add table
Reference in a new issue