diff --git a/Cargo.lock b/Cargo.lock index 5273568..31271ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -640,7 +640,7 @@ dependencies = [ [[package]] name = "boilr" -version = "1.9.5" +version = "1.9.6" dependencies = [ "base64 0.22.1", "color-eyre", diff --git a/Cargo.toml b/Cargo.toml index f82cb55..53c44d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "boilr" -version = "1.9.5" +version = "1.9.6" [dependencies] base64 = "^0.22.1" diff --git a/flatpak/io.github.philipk.boilr.appdata.xml b/flatpak/io.github.philipk.boilr.appdata.xml index 002979b..f5ee311 100644 --- a/flatpak/io.github.philipk.boilr.appdata.xml +++ b/flatpak/io.github.philipk.boilr.appdata.xml @@ -26,6 +26,14 @@ https://hughsie.github.io/oars/index.html --> + + +
    +
  • Update dependencies
  • +
  • Fix scaling issue on steam deck
  • +
+
+
    diff --git a/src/ui/uiapp.rs b/src/ui/uiapp.rs index d2d3cc3..5f777ca 100644 --- a/src/ui/uiapp.rs +++ b/src/ui/uiapp.rs @@ -175,6 +175,7 @@ fn create_games_to_sync(rt: &mut Runtime, platforms: &[Box]) impl App for MyEguiApp { fn update(&mut self, ctx: &egui::Context, _frame: &mut Frame) { + ctx.set_pixels_per_point(1.0); let frame = egui::Frame::default() .stroke(Stroke::new(0., BACKGROUND_COLOR)) .fill(BACKGROUND_COLOR); @@ -301,9 +302,6 @@ fn create_style(style: &mut egui::Style) { style.visuals.selection.bg_fill = PURLPLE; } fn setup(ctx: &egui::Context) { - #[cfg(target_family = "unix")] - ctx.set_pixels_per_point(0.999); - let mut style: egui::Style = (*ctx.style()).clone(); create_style(&mut style); ctx.set_style(style);