gg: use html5_canvas_name as the name of the canvas in gg.js.v too, similarly to gg.c.v

This commit is contained in:
Delyan Angelov 2023-08-13 17:45:19 +03:00
parent 33965bc29b
commit be1270540b
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
3 changed files with 7 additions and 7 deletions

View file

@ -190,7 +190,7 @@ fn main() {
create_window: true
resizable: false
window_title: 'snek'
canvas: 'canvas'
html5_canvas_name: 'canvas'
)
app.gg.run()