mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Demo: add button to reset the demo
This commit is contained in:
@@ -232,7 +232,7 @@ fn show_menu_bar(ui: &mut Ui) {
|
||||
ui.ctx().memory().reset_areas();
|
||||
}
|
||||
if ui
|
||||
.button("Clear egui memory")
|
||||
.button("Reset egui memory")
|
||||
.on_hover_text("Forget scroll, positions, sizes etc")
|
||||
.clicked()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user