🐛 Fix default case on vertical align

This commit is contained in:
Elena Torro 2025-12-09 13:48:55 +01:00 committed by Alejandro Alonso
parent 084c5141a2
commit cae9afc5b7

View File

@ -333,7 +333,7 @@
(case valign
"bottom" (- y (- height selrect-height))
"center" (- y (/ (- height selrect-height) 2))
"top" y)
y)
y)]
[(assoc selrect :y y :width max-width :height max-height) transform])