mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-07-14 19:20:36 +03:00
Fix scroll track (#9508)
This commit is contained in:
parent
a1272bdb17
commit
f8e2d822ba
@ -427,6 +427,7 @@ const fn div_ceil(a: usize, b: usize) -> usize {
|
|||||||
cell.set_fg(scroll_style.fg.unwrap_or(helix_view::theme::Color::Reset));
|
cell.set_fg(scroll_style.fg.unwrap_or(helix_view::theme::Color::Reset));
|
||||||
} else if !render_borders {
|
} else if !render_borders {
|
||||||
// Draw scroll track
|
// Draw scroll track
|
||||||
|
cell.set_symbol(half_block);
|
||||||
cell.set_fg(scroll_style.bg.unwrap_or(helix_view::theme::Color::Reset));
|
cell.set_fg(scroll_style.bg.unwrap_or(helix_view::theme::Color::Reset));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -303,6 +303,7 @@ const fn div_ceil(a: usize, b: usize) -> usize {
|
|||||||
cell.set_fg(scroll_style.fg.unwrap_or(helix_view::theme::Color::Reset));
|
cell.set_fg(scroll_style.fg.unwrap_or(helix_view::theme::Color::Reset));
|
||||||
} else if !render_borders {
|
} else if !render_borders {
|
||||||
// Draw scroll track
|
// Draw scroll track
|
||||||
|
cell.set_symbol(half_block);
|
||||||
cell.set_fg(scroll_style.bg.unwrap_or(helix_view::theme::Color::Reset));
|
cell.set_fg(scroll_style.bg.unwrap_or(helix_view::theme::Color::Reset));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user