fmt: fix and simplify align of struct fields (#21995)

This commit is contained in:
yuyi 2024-08-06 01:23:39 +08:00 committed by GitHub
parent 576a0abcc7
commit ddb6685d8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
139 changed files with 553 additions and 519 deletions

View file

@ -98,8 +98,8 @@ mut:
secondary_color_idx int = 28
bg_color ui.Color = ui.Color{0, 0, 0}
drawing [][]ui.Color = [][]ui.Color{len: h, init: []ui.Color{len: w}}
size int = 1
should_redraw bool = true
size int = 1
should_redraw bool = true
is_dragging bool
}

View file

@ -245,7 +245,7 @@ mut:
}
captured bool
color termui.Color = grey
app &App = unsafe { nil }
app &App = unsafe { nil }
}
// randomize spawn the rat in a new spot within the playable field