From 234579f5532d72b55307cb1c9ae3f8a844fb07f9 Mon Sep 17 00:00:00 2001 From: Tobias Berger Date: Wed, 9 Nov 2022 14:51:59 +0100 Subject: [PATCH] Hotfix - feature-gate logging --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 784dba3..5e244a0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -130,6 +130,7 @@ fn generate_graphics( style.1.size *= 16.0 / 12.0; } ctx.set_style(style); + #[cfg(feature = "logging")] debug!("Fonts: {:#?}", &ctx.style().text_styles); }