fmt: fix alignment of struct init fields (#22025)

This commit is contained in:
yuyi 2024-08-11 14:11:24 +08:00 committed by GitHub
parent 99da5726db
commit c51d30bf53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
671 changed files with 18817 additions and 18787 deletions

View file

@ -24,12 +24,12 @@ const limit_thickness = 3
const text_cfg = gx.TextCfg{
align: .left
size: text_size
size: text_size
color: gx.rgb(0, 0, 0)
}
const over_cfg = gx.TextCfg{
align: .left
size: text_size
size: text_size
color: gx.white
}
@ -160,14 +160,14 @@ fn main() {
}
game.gg = gg.new_context(
bg_color: gx.white
width: win_width
height: win_height
create_window: true
window_title: 'V Tetris' //
user_data: game
frame_fn: frame
event_fn: on_event
bg_color: gx.white
width: win_width
height: win_height
create_window: true
window_title: 'V Tetris' //
user_data: game
frame_fn: frame
event_fn: on_event
html5_canvas_name: 'canvas'
)
game.init_game()