mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
fmt: fix alignment of struct init fields (#22025)
This commit is contained in:
parent
99da5726db
commit
c51d30bf53
671 changed files with 18817 additions and 18787 deletions
|
@ -8,12 +8,12 @@ fn main() {
|
|||
scount := os.args[1] or { '2' }.int()
|
||||
println('> sample count: ${scount}')
|
||||
mut ctx := gg.new_context(
|
||||
bg_color: gx.white
|
||||
bg_color: gx.white
|
||||
window_title: 'sample_count: ${scount}'
|
||||
width: 320
|
||||
height: 240
|
||||
width: 320
|
||||
height: 240
|
||||
sample_count: scount
|
||||
frame_fn: fn (mut ctx gg.Context) {
|
||||
frame_fn: fn (mut ctx gg.Context) {
|
||||
ctx.begin()
|
||||
ctx.draw_rounded_rect_empty(110, 70, 100, 100, 10, gx.blue)
|
||||
ctx.draw_circle_empty(160, 120, 100, gx.red)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue