1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

[demo] Move color test to WrapApp

This commit is contained in:
Emil Ernerfeldt
2021-01-02 00:13:34 +01:00
parent 4848c171eb
commit 3e0bedd96d
9 changed files with 40 additions and 43 deletions

View File

@@ -282,7 +282,7 @@ impl DemoApp {
impl epi::App for DemoApp {
fn name(&self) -> &str {
"Egui Demo"
"Egui Demo"
}
fn load(&mut self, storage: &dyn epi::Storage) {
@@ -305,7 +305,7 @@ impl epi::App for DemoApp {
..
} = self;
demo_windows.ui(ctx, frame.tex_allocator(), |ui| {
demo_windows.ui(ctx, |ui| {
ui.separator();
ui.checkbox(backend_window_open, "💻 Backend");