mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 03:36:42 +01:00
fix(tui): bg->fg
This commit is contained in:
parent
a4dbf88220
commit
d330e88252
2 changed files with 1 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ impl<T: Layout<TuiOut>> Layout<TuiOut> for TuiForeground<T> {
|
|||
impl<T: Layout<TuiOut> + Draw<TuiOut>> Draw<TuiOut> for TuiForeground<T> {
|
||||
fn draw (&self, to: &mut TuiOut) {
|
||||
let area = self.layout(to.area());
|
||||
to.fill_bg(area, self.0.0);
|
||||
to.fill_fg(area, self.0.0);
|
||||
to.place_at(area, &self.0.1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
use crate::*;
|
||||
Loading…
Add table
Add a link
Reference in a new issue