From caf9e357260977a239e2e026571f360c382a4704 Mon Sep 17 00:00:00 2001 From: Serg Tereshchenko Date: Sat, 14 Aug 2021 11:31:26 +0300 Subject: [PATCH] chore(logging): Use 4 digits for scale_factor display --- src/window/window_wrapper/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window/window_wrapper/mod.rs b/src/window/window_wrapper/mod.rs index dbaf15a..cee592f 100644 --- a/src/window/window_wrapper/mod.rs +++ b/src/window/window_wrapper/mod.rs @@ -264,7 +264,7 @@ pub fn create_window( let skia_renderer = SkiaRenderer::new(&windowed_context); log::info!( - "window created (scale_factor: {}, font_dimensions: {:?})", + "window created (scale_factor: {:.4}, font_dimensions: {:?})", scale_factor, renderer.font_dimensions, );