Skip to content

Commit 12a6c64

Browse files
committed
move add_space to its correct location
Signed-off-by: William Casarin <[email protected]>
1 parent 9e8f7a2 commit 12a6c64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/timeline.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ fn tabs_ui(ui: &mut egui::Ui) {
138138

139139
ui.painter().hline(underline, underline_y, stroke);
140140
}
141-
142-
ui.add_space(3.0);
143141
}
144142

145143
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) {
151149

152150
tabs_ui(ui);
153151

152+
// need this for some reason??
153+
ui.add_space(3.0);
154+
154155
egui::ScrollArea::vertical()
155156
.scroll_bar_visibility(ScrollBarVisibility::AlwaysVisible)
156157
.show(ui, |ui| {

0 commit comments

Comments
 (0)