mirror of
https://github.com/penpot/penpot.git
synced 2026-05-02 22:58:35 +00:00
🐛 Fix space-between preserves gap distances
This commit is contained in:
parent
2d779a4414
commit
e041f93680
@ -236,7 +236,7 @@
|
||||
0
|
||||
|
||||
(and row? space-between?)
|
||||
(/ (- width line-width) (dec num-children))
|
||||
(max layout-gap-col (/ (- width line-width) (dec num-children)))
|
||||
|
||||
:else
|
||||
layout-gap-col)
|
||||
@ -246,7 +246,7 @@
|
||||
0
|
||||
|
||||
(and col? space-between?)
|
||||
(/ (- height line-height) (dec num-children))
|
||||
(max layout-gap-row (/ (- height line-height) (dec num-children)))
|
||||
|
||||
:else
|
||||
layout-gap-row)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user