Make Borders u8
This commit is contained in:
parent
1837b5e4a6
commit
5bcb31a6df
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ use helix_view::graphics::Rect;
|
||||||
bitflags! {
|
bitflags! {
|
||||||
/// Bitflags that can be composed to set the visible borders essentially on the block widget.
|
/// Bitflags that can be composed to set the visible borders essentially on the block widget.
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
||||||
pub struct Borders: u32 {
|
pub struct Borders: u8 {
|
||||||
/// Show the top border
|
/// Show the top border
|
||||||
const TOP = 0b0000_0001;
|
const TOP = 0b0000_0001;
|
||||||
/// Show the right border
|
/// Show the right border
|
||||||
|
|
Loading…
Reference in a new issue