mirror of
https://github.com/penpot/penpot.git
synced 2025-05-28 05:36:11 +02:00
🐛 Fix frame titles deforming when resize
This commit is contained in:
parent
a301856c0d
commit
29f1c8bb4d
5 changed files with 41 additions and 32 deletions
|
@ -160,12 +160,12 @@
|
|||
([shape]
|
||||
(transform-str shape nil))
|
||||
|
||||
([{:keys [transform flip-x flip-y] :as shape} {:keys [no-flip]}]
|
||||
([{:keys [transform flip-x flip-y] :as shape} {:keys [no-flip] :as params}]
|
||||
(if (and (some? shape)
|
||||
(or (some? transform)
|
||||
(and (not no-flip) flip-x)
|
||||
(and (not no-flip) flip-y)))
|
||||
(dm/str (transform-matrix shape))
|
||||
(dm/str (transform-matrix shape params))
|
||||
"")))
|
||||
|
||||
(defn inverse-transform-matrix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue