quit button functionnal now
This commit is contained in:
parent
5f771264e5
commit
d7749222f0
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ impl eframe::App for MyApp {
|
|||
ui.label("Drag-and-drop files onto the window!");
|
||||
|
||||
if ui.button("Quitter").clicked() {
|
||||
println!("Soon");
|
||||
ctx.send_viewport_cmd(egui::ViewportCommand::Close);
|
||||
}
|
||||
|
||||
let tweets = self.tweets.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue