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

[demo] Alwyas start with widget gallery

This commit is contained in:
Emil Ernerfeldt
2021-02-20 09:18:23 +01:00
parent 0f13fff24b
commit 9e38674d13
14 changed files with 50 additions and 30 deletions

View File

@@ -25,9 +25,8 @@ impl Default for WindowOptions {
}
impl super::Demo for WindowOptions {
fn name(&self) -> &str {
// "🗖 Window Options"
&self.title
fn name(&self) -> &'static str {
"🗖 Window Options"
}
fn show(&mut self, ctx: &egui::CtxRef, open: &mut bool) {