mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 15:20:05 -04:00
Improve the UI for changing the egui theme (#4257)
I added a new demo - a `Frame` editor:  This whole menu is now just a a bit nicer to use: <img width="406" alt="Screenshot 2024-03-28 at 09 49 16" src="https://github.com/emilk/egui/assets/1148717/32d12067-7cf0-4312-aa12-42909a5ed5ac">
This commit is contained in:
@@ -328,7 +328,7 @@ impl Default for ColorWidgets {
|
||||
|
||||
impl ColorWidgets {
|
||||
fn ui(&mut self, ui: &mut Ui) {
|
||||
egui::reset_button(ui, self);
|
||||
egui::reset_button(ui, self, "Reset");
|
||||
|
||||
ui.label("egui lets you edit colors stored as either sRGBA or linear RGBA and with or without premultiplied alpha");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user