Make Borders u8

This commit is contained in:
Ivan Tham 2022-05-22 00:25:20 +08:00 committed by Blaž Hrastnik
parent 1837b5e4a6
commit 5bcb31a6df

View file

@ -28,7 +28,7 @@ use helix_view::graphics::Rect;
bitflags! {
/// Bitflags that can be composed to set the visible borders essentially on the block widget.
#[derive(Default)]
pub struct Borders: u32 {
pub struct Borders: u8 {
/// Show the top border
const TOP = 0b0000_0001;
/// Show the right border