1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Use ⚠ instead of ‼ in "Debug build" warning

The latter is not supported by the default fonts
This commit is contained in:
Emil Ernerfeldt
2022-10-24 15:00:50 +02:00
parent 7b8c17042c
commit aebec6329a

View File

@@ -373,7 +373,7 @@ pub use {
pub fn warn_if_debug_build(ui: &mut crate::Ui) {
if cfg!(debug_assertions) {
ui.label(
RichText::new(" Debug build ")
RichText::new(" Debug build ")
.small()
.color(ui.visuals().warn_fg_color),
)