Literally one set of parentheses

This commit is contained in:
Sasha Koshka 2023-04-15 18:33:37 -04:00
parent bb50c7d7a7
commit 1044c8299a
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ func (element *VBox) freeSpace () (space float64, nExpanding float64) {
space -= float64(padding.Vertical())
}
if element.margin {
space -= float64(margin.Y * len(element.scratch) - 1)
space -= float64(margin.Y * (len(element.scratch) - 1))
}
return