Do not change ui scale on windows (#115)

This commit is contained in:
Philip Kristoffersen
2022-05-01 20:30:15 +02:00
committed by GitHub
parent 1350a89aaf
commit 320dc14298
+2
View File
@@ -79,7 +79,9 @@ impl epi::App for MyEguiApp {
_frame: &epi::Frame,
_storage: Option<&dyn epi::Storage>,
) {
#[cfg(target_family = "unix")]
ctx.set_pixels_per_point(1.0);
let mut style: egui::Style = (*ctx.style()).clone();
create_style(&mut style);
ctx.set_style(style);