mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Set pixels_per_point to 1.0
This commit is contained in:
@@ -73,6 +73,7 @@ impl epi::App for MyEguiApp {
|
||||
}
|
||||
|
||||
fn update(&mut self, ctx: &egui::Context, _frame: &epi::Frame) {
|
||||
ctx.set_pixels_per_point(1.0);
|
||||
let mut style: egui::Style = (*ctx.style()).clone();
|
||||
create_style(&mut style);
|
||||
ctx.set_style(style);
|
||||
|
||||
Reference in New Issue
Block a user