diff --git a/app/src/app.rs b/app/src/app.rs index ec9d33c..13aaa90 100644 --- a/app/src/app.rs +++ b/app/src/app.rs @@ -1324,15 +1324,11 @@ pub fn view(app: &App, cx: &mut Cx) -> El { .child(app.events_scroll.thumb(p, "events-thumb", "event-scroller")), Screen::Review => window, Screen::Clips => window.child(app.clips_scroll.thumb(p, "clips-thumb", "clips-scroller")), - _ => window.child(app.scroll.thumb( - p, - "scroll-thumb", - if app.screen == Screen::Settings { - "scroller" - } else { - "list-scroller" - }, - )), + Screen::Settings => window.child(app.scroll.thumb(p, "scroll-thumb", "scroller")), + Screen::History => window.child(app.scroll.thumb(p, "scroll-thumb", "list-scroller")), + // A clip fills its screen with a player, not a list: the history or settings thumb would + // stay where its own viewport left it, a bar on the clip's right that scrolls nothing. + Screen::Clip => window, }; if app.screen == Screen::Settings && app.form.add_open { screens::settings::add_dialog(app, p, &mut overlays);