🐛 Fix frame titles deforming when resize

This commit is contained in:
alonso.torres 2022-08-30 17:12:43 +02:00
parent a301856c0d
commit 29f1c8bb4d
5 changed files with 41 additions and 32 deletions

View file

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