Toggle window open instead of simply opening

This commit is contained in:
Simon Gardling 2022-03-01 09:32:06 -05:00
parent 2a5fb8ca69
commit 060d667cae

View File

@ -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;
}
});
});