mirror of
https://github.com/djibux/BoilR.git
synced 2026-12-01 01:41:59 +01:00
Fix dpi scaling on linux
This commit is contained in:
1 parent
2c679adec8
commit
df7f0e63a5
2 files changed
+1
-4
No files matched your search
+1
-1
@@ -332,7 +332,7 @@ impl MyEguiApp {
|
||||
|
||||
fn setup(ctx: &egui::Context) {
|
||||
#[cfg(target_family = "unix")]
|
||||
ctx.set_pixels_per_point(1.0);
|
||||
ctx.set_pixels_per_point(0.999);
|
||||
|
||||
let mut style: egui::Style = (*ctx.style()).clone();
|
||||
create_style(&mut style);
|
||||
|
||||
Reference in new issue
Block a user