mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Move Color32 constants from mod color to struct Color32
This commit is contained in:
@@ -100,7 +100,7 @@ impl epi::App for HttpApp {
|
||||
}
|
||||
Err(error) => {
|
||||
// This should only happen if the fetch API isn't available or something similar.
|
||||
ui.add(egui::Label::new(error).text_color(egui::color::RED));
|
||||
ui.add(egui::Label::new(error).text_color(egui::Color32::RED));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user