🐛 Fix vertical align default case

This commit is contained in:
Elena Torro
2025-11-27 13:38:51 +01:00
parent 90dcf04fb0
commit dc8a07099d

View File

@@ -317,7 +317,7 @@
max-height (max height selrect-height)
valign (-> shape :content :vertical-align)
y (:y selrect)
y (if (> height selrect-height)
y (if (and valign (> height selrect-height))
(case valign
"bottom" (- y (- height selrect-height))
"center" (- y (/ (- height selrect-height) 2))