This commit is contained in:
meehl committed 2026-09-02 16:37:59 +02:00
1 parent aa1bfb768e
commit 20a1db073d
20 files changed
+118 -126

No files matched your search

+2 -3
View File
@@ -107,10 +107,9 @@ impl Installer {
pub fn handle_event(&mut self, event: StageEvent) -> anyhow::Result<Option<StageTransition>> {
match event {
StageEvent::Resized(size) => self.window_state.size = size,
StageEvent::ScaleFactorChanged(factor) =>
{
StageEvent::ScaleFactorChanged(factor) => {
#[allow(clippy::cast_possible_truncation)]
self.window_state.set_scale_factor(factor as f32)
self.window_state.set_scale_factor(factor as f32);
}
_ => {}
}