some cleanup
This commit is contained in:
parent
7152d9d274
commit
c1148ea8bc
2 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ pub async fn run() {
|
|||
{
|
||||
// Winit prevents sizing with CSS, so we have to set
|
||||
// the size manually when on web.
|
||||
// https://github.com/rust-windowing/winit/pull/2074
|
||||
use winit::dpi::PhysicalSize;
|
||||
window.set_inner_size(PhysicalSize::new(1920, 1080));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue