notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 12a6c647788c3e1433e9b4aed9fd0bae5d720fe4
parent 9e8f7a2e5c64d2e553fd0ddf436cd79d0a11544f
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 15 May 2024 17:39:42 -0700

move add_space to its correct location

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/timeline.rs | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/timeline.rs b/src/timeline.rs @@ -138,8 +138,6 @@ fn tabs_ui(ui: &mut egui::Ui) { ui.painter().hline(underline, underline_y, stroke); } - - ui.add_space(3.0); } pub fn timeline_view(ui: &mut egui::Ui, app: &mut Damus, timeline: usize) { @@ -151,6 +149,9 @@ pub fn timeline_view(ui: &mut egui::Ui, app: &mut Damus, timeline: usize) { tabs_ui(ui); + // need this for some reason?? + ui.add_space(3.0); + egui::ScrollArea::vertical() .scroll_bar_visibility(ScrollBarVisibility::AlwaysVisible) .show(ui, |ui| {