HKMJXIFQ5AAIR7NP7NGEY7SL45XBRZQK75KTI63XGFXVM4TTAHPQC
O5P6HCPWGMGJBFJEMC3SYQJ5OEW2AQV4KEJCMRVTTS3K6M45Z3BAC
// .with_inner_size(dpi::PhysicalSize::new(WINDOW_WIDTH, WINDOW_HEIGHT));
event_loop.run(move |event, elwt| match event {
event_loop.run(move |mut event, elwt| match event {
ref event,
ref mut event,
} WindowEvent::ScaleFactorChanged { scale_factor, ref mut inner_size_writer, } => { inner_size_writer .request_inner_size(dpi::PhysicalSize::new( WINDOW_WIDTH * *scale_factor as u32, WINDOW_HEIGHT * *scale_factor as u32, )) .unwrap();
}
WindowEvent::ScaleFactorChanged {
scale_factor,
ref mut inner_size_writer,
} => {
inner_size_writer
.request_inner_size(dpi::PhysicalSize::new(
WINDOW_WIDTH * *scale_factor as u32,
WINDOW_HEIGHT * *scale_factor as u32,
))
.unwrap();