mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 22:11:37 +02:00
🐛 Fix text problem
This commit is contained in:
parent
5e2a7e76f3
commit
66cec51c44
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@
|
||||||
(assoc-in [:workspace-local :edition] (-> selected first :id)))))))
|
(assoc-in [:workspace-local :edition] (-> selected first :id)))))))
|
||||||
|
|
||||||
(defn not-changed? [old-dim new-dim]
|
(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
|
(defn resize-text
|
||||||
[id new-width new-height]
|
[id new-width new-height]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue