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:
@@ -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),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user