From cff91ea1a42a49006723eaed8080cbc13841f64b Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Tue, 30 Jan 2024 19:29:36 +0100 Subject: [PATCH] fix(wallpaper): fill and fit scaling modes flipped in UI --- app/src/pages/desktop/wallpaper/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/pages/desktop/wallpaper/mod.rs b/app/src/pages/desktop/wallpaper/mod.rs index 37c4aa6..59f5e43 100644 --- a/app/src/pages/desktop/wallpaper/mod.rs +++ b/app/src/pages/desktop/wallpaper/mod.rs @@ -48,8 +48,8 @@ use image::{ImageBuffer, Rgba}; use slotmap::{DefaultKey, SecondaryMap, SlotMap}; use static_init::dynamic; -const FIT: usize = 0; -const ZOOM: usize = 1; +const ZOOM: usize = 0; +const FIT: usize = 1; const SIMULATED_WIDTH: u16 = 300; const SIMULATED_HEIGHT: u16 = 169;