mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Do not change ui scale on windows (#115)
This commit is contained in:
@@ -79,7 +79,9 @@ impl epi::App for MyEguiApp {
|
|||||||
_frame: &epi::Frame,
|
_frame: &epi::Frame,
|
||||||
_storage: Option<&dyn epi::Storage>,
|
_storage: Option<&dyn epi::Storage>,
|
||||||
) {
|
) {
|
||||||
|
#[cfg(target_family = "unix")]
|
||||||
ctx.set_pixels_per_point(1.0);
|
ctx.set_pixels_per_point(1.0);
|
||||||
|
|
||||||
let mut style: egui::Style = (*ctx.style()).clone();
|
let mut style: egui::Style = (*ctx.style()).clone();
|
||||||
create_style(&mut style);
|
create_style(&mut style);
|
||||||
ctx.set_style(style);
|
ctx.set_style(style);
|
||||||
|
|||||||
Reference in New Issue
Block a user