mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 22:27:16 +02:00
✨ Allows auto-width and auto-height for text layouts
This commit is contained in:
parent
9c61c52dc5
commit
abdd4d68d5
10 changed files with 130 additions and 59 deletions
|
@ -167,7 +167,9 @@
|
|||
{:left (.-left ^js rect)
|
||||
:top (.-top ^js rect)
|
||||
:right (.-right ^js rect)
|
||||
:bottom (.-bottom ^js rect)}))
|
||||
:bottom (.-bottom ^js rect)
|
||||
:width (.-width ^js rect)
|
||||
:height (.-height ^js rect)}))
|
||||
|
||||
(defn get-window-size
|
||||
[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue