Toggle window open instead of simply opening
This commit is contained in:
parent
2a5fb8ca69
commit
060d667cae
@ -135,7 +135,7 @@ impl epi::App for MathApp {
|
||||
}
|
||||
|
||||
if ui.add(egui::Button::new("Open Help")).clicked() {
|
||||
self.help_open = true;
|
||||
self.help_open = !self.help_open;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user