Toggle window open instead of simply opening
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user