1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples/2048: make tiles have rounded corners (#7763)

This commit is contained in:
spaceface
2021-01-01 12:04:51 +01:00
committed by GitHub
parent b6136f9f8f
commit 480d78de2e
2 changed files with 5 additions and 2 deletions

View File

@@ -54,6 +54,7 @@ pub:
// wait_events bool // set this to true for UIs, to save power
fullscreen bool
scale f32 = 1.0
sample_count int
// vid needs this
// init_text bool
font_path string
@@ -253,6 +254,7 @@ pub fn new_context(cfg Config) &Context {
html5_canvas_name: cfg.window_title.str
width: cfg.width
height: cfg.height
sample_count: cfg.sample_count
high_dpi: true
fullscreen: cfg.fullscreen
}