🐛 Fix default case on vertical align

This commit is contained in:
Elena Torro 2025-12-09 13:48:55 +01:00 committed by Belén Albeza
parent 2c3732f3f4
commit a661b2564f

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])