1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Make stick_to_bottom take a bool argument

This commit is contained in:
Emil Ernerfeldt
2022-08-02 20:34:50 +02:00
parent 263c9bd601
commit 06adb09fa3
4 changed files with 11 additions and 13 deletions

View File

@@ -371,7 +371,7 @@ impl EguiWindows {
ui.separator();
egui::ScrollArea::vertical()
.stick_to_bottom()
.stick_to_bottom(true)
.show(ui, |ui| {
for event in output_event_history {
ui.label(format!("{:?}", event));