FillBg -> Background

This commit is contained in:
🪞👃🪞 2024-09-13 02:39:40 +03:00
parent 9816d2ee9d
commit 6624fb476c
4 changed files with 21 additions and 21 deletions

View file

@ -290,9 +290,9 @@ impl Widget for Styled<&str> {
}
}
pub struct FillBg(pub Color);
pub struct Background(pub Color);
impl Widget for FillBg {
impl Widget for Background {
type Engine = Tui;
fn layout (&self, [x,y,_,_]: [u16;4]) -> Perhaps<[u16;4]> {
Ok(Some([x,y,0,0]))