mirror of https://github.com/helix-editor/helix
Fix scroll track (#9508)
parent
a1272bdb17
commit
f8e2d822ba
|
@ -427,6 +427,7 @@ impl<T: Item + 'static> Component for Menu<T> {
|
|||
cell.set_fg(scroll_style.fg.unwrap_or(helix_view::theme::Color::Reset));
|
||||
} else if !render_borders {
|
||||
// Draw scroll track
|
||||
cell.set_symbol(half_block);
|
||||
cell.set_fg(scroll_style.bg.unwrap_or(helix_view::theme::Color::Reset));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -303,6 +303,7 @@ impl<T: Component> Component for Popup<T> {
|
|||
cell.set_fg(scroll_style.fg.unwrap_or(helix_view::theme::Color::Reset));
|
||||
} else if !render_borders {
|
||||
// Draw scroll track
|
||||
cell.set_symbol(half_block);
|
||||
cell.set_fg(scroll_style.bg.unwrap_or(helix_view::theme::Color::Reset));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue