Remove random semicolons
This commit is contained in:
parent
b883542f3b
commit
987f4bfc4a
@ -50,7 +50,7 @@ func (column Column) Arrange (hints tomo.LayoutHints, boxes tomo.BoxArranger) {
|
|||||||
if !hints.OverflowY {
|
if !hints.OverflowY {
|
||||||
gaps := boxes.Len() - 1
|
gaps := boxes.Len() - 1
|
||||||
freeSpace := float64(hints.Bounds.Dy() - hints.Gap.Y * gaps)
|
freeSpace := float64(hints.Bounds.Dy() - hints.Gap.Y * gaps)
|
||||||
nExpanding := 0;
|
nExpanding := 0
|
||||||
for index := 0; index < boxes.Len(); index ++ {
|
for index := 0; index < boxes.Len(); index ++ {
|
||||||
if expands(index) {
|
if expands(index) {
|
||||||
nExpanding ++
|
nExpanding ++
|
||||||
@ -121,7 +121,7 @@ func (row Row) Arrange (hints tomo.LayoutHints, boxes tomo.BoxArranger) {
|
|||||||
if !hints.OverflowY {
|
if !hints.OverflowY {
|
||||||
gaps := boxes.Len() - 1
|
gaps := boxes.Len() - 1
|
||||||
freeSpace := float64(hints.Bounds.Dx() - hints.Gap.X * gaps)
|
freeSpace := float64(hints.Bounds.Dx() - hints.Gap.X * gaps)
|
||||||
nExpanding := 0;
|
nExpanding := 0
|
||||||
for index := 0; index < boxes.Len(); index ++ {
|
for index := 0; index < boxes.Len(); index ++ {
|
||||||
if expands(index) {
|
if expands(index) {
|
||||||
nExpanding ++
|
nExpanding ++
|
||||||
|
Loading…
Reference in New Issue
Block a user