0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-15 08:21:40 -05:00

🐛 Fix text problem

This commit is contained in:
alonso.torres 2022-06-16 10:40:33 +02:00
parent 5e2a7e76f3
commit 66cec51c44

View file

@ -308,7 +308,7 @@
(assoc-in [:workspace-local :edition] (-> selected first :id)))))))
(defn not-changed? [old-dim new-dim]
(> (mth/abs (- old-dim new-dim)) 0.1))
(> (mth/abs (- old-dim new-dim)) 1))
(defn resize-text
[id new-width new-height]