Conversation
The existing `window` example requires a little bit more plumbing to use on the web
|
I ran Would it be possible to include the static files in this PR? Additionally, could we add web setup documentation to the crate's root docs? |
Nothing is rendered in the window, but it's there for me at least. Are you not seeing events logged / a canvas in the DOM? We could insert some code to use webgl or HTML5 canvas to color-fill the canvas to make it obvious.
Cargo web will give you this message if you don't have a |
|
@ryanisaacg ah, alright. I just checked the console log and events are indeed getting printed.
Would it be easier to set the page's background color, so it contrasts against the canvas' default uncleared color? |
|
#1301 does this better, so I'll just make the background color change after we merge that. |
cargo fmthas been run on this branchcargo docbuilds successfully