mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
🐛 Fix space-between preserves gap distances
This commit is contained in:
parent
2d779a4414
commit
e041f93680
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue