Hotfix - feature-gate logging

This commit is contained in:
Tobias Berger 2022-11-09 14:51:59 +01:00
parent ee86deb629
commit 234579f553
Signed by: toby
GPG key ID: 2D05EFAB764D6A88

View file

@ -130,6 +130,7 @@ fn generate_graphics(
style.1.size *= 16.0 / 12.0; style.1.size *= 16.0 / 12.0;
} }
ctx.set_style(style); ctx.set_style(style);
#[cfg(feature = "logging")]
debug!("Fonts: {:#?}", &ctx.style().text_styles); debug!("Fonts: {:#?}", &ctx.style().text_styles);
} }