mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
drop_area.cljc: v-end? was guarded by row? instead of col?, making vertical-end alignment check fire under horizontal layout conditions. Aligned with v-center? which correctly uses col?. positions.cljc: In get-base-line, the col? around? branch passed 2 as a third argument to max instead of as a divisor in (/ free-width num-lines 2). This made the offset clamp to at least 2 pixels rather than computing half the per-line free space. Fixed parenthesization. layout_data.cljc: The second cond branch (and col? space-evenly? auto-height?) was permanently unreachable because the preceding branch (and col? space-evenly?) is a strict superset. Removed the dead branch. Signed-off-by: Andrey Antukh <niwi@niwi.nz>