🐛 Avoid datatype problem calculating proportions

This commit is contained in:
Andrés Moya 2024-04-05 10:04:27 +02:00 committed by Andrey Antukh
parent b2020c8a66
commit c2737f2378
3 changed files with 10 additions and 10 deletions

View file

@ -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