1
0
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:
Emil Ernerfeldt
2021-10-23 05:50:42 +02:00
parent 5d463b2af7
commit 6185ee8ce4
3 changed files with 18 additions and 9 deletions

View File

@@ -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()
{