mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
FillBg -> Background
This commit is contained in:
parent
9816d2ee9d
commit
6624fb476c
4 changed files with 21 additions and 21 deletions
|
|
@ -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]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue