Move Color32 constants from mod color to struct Color32

This commit is contained in:
Emil Ernerfeldt
2021-01-02 17:18:41 +01:00
parent 64dd186daf
commit 029a85c1fc
20 changed files with 77 additions and 62 deletions
+1 -1
View File
@@ -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));
}
}
}