mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 22:36:12 +02:00
🐛 Avoid datatype problem calculating proportions
This commit is contained in:
parent
b2020c8a66
commit
c2737f2378
3 changed files with 10 additions and 10 deletions
|
@ -1255,7 +1255,7 @@
|
|||
:frame-id frame-id
|
||||
:parent-id frame-id})
|
||||
(assoc
|
||||
:proportion (/ width height)
|
||||
:proportion (float (/ width height))
|
||||
:proportion-lock true))
|
||||
|
||||
img-shape (cts/setup-shape
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue