Conversation
jleibs
left a comment
There was a problem hiding this comment.
This looks much simpler. However, I don't have any context on the historical reasons for the previous complexity, which always makes me a bit nervous.
Context: the old CSS was me copy-pasting things that I don't understand |
I believe the original CSS here was taken from the egui demo app, or its predecessor. All it did was move the canvas into place, and then some code in eframe took care of resizing the canvas to the equivalent of |
What
The canvas size was the default of 300x150 because we didn't update the CSS in
index.htmlafterresizeevent emilk/egui#4536Closes
Checklist
mainbuild: rerun.io/viewernightlybuild: rerun.io/viewerTo run all checks from
main, comment on the PR with@rerun-bot full-check.