Make Borders u8

imgbot
Ivan Tham 3 years ago committed by Blaž Hrastnik
parent 1837b5e4a6
commit 5bcb31a6df

@ -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

Loading…
Cancel
Save