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) { pub fn warn_if_debug_build(ui: &mut crate::Ui) {
if cfg!(debug_assertions) { if cfg!(debug_assertions) {
ui.label( ui.label(
RichText::new("‼ Debug build ‼") RichText::new("⚠ Debug build ⚠")
.small() .small()
.color(ui.visuals().warn_fg_color), .color(ui.visuals().warn_fg_color),
) )