gg: setup ctx.window.user_data and ctx.user_data on ctx.run(), instead of in gg.new_context, to allow for embedding gg.Context in ui (#17169)

This commit is contained in:
Tim Marston 2023-01-31 16:22:20 +00:00 committed by GitHub
parent a932a8b1ea
commit 26b9464f51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 32 deletions

View file

@ -13,7 +13,7 @@ struct Pixel {
color gx.Color
}
struct App {
pub struct App {
pub:
args simargs.ParallelArgs
request_chan chan &sim.SimRequest