fix: Revert Block widget change that broke autoinfo background

This commit is contained in:
Blaž Hrastnik 2022-02-07 10:29:43 +09:00
parent e7f5ec5561
commit ad62e1e129

View file

@ -134,7 +134,7 @@ impl<'a> Widget for Block<'a> {
if area.area() == 0 {
return;
}
buf.clear_with(area, self.style);
buf.set_style(area, self.style);
let symbols = BorderType::line_symbols(self.border_type);
// Sides