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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user