mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Avoid datatype problem calculating proportions
This commit is contained in:
committed by
Andrey Antukh
parent
b2020c8a66
commit
c2737f2378
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user