mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-25 22:20:31 +00:00
style: fmt
This commit is contained in:
parent
aa85e597d9
commit
d8e5f57d53
3 changed files with 3 additions and 5 deletions
|
@ -155,7 +155,7 @@ impl<'a> Widget for BarChart<'a> {
|
|||
chart_area.left() + i as u16 * (self.bar_width + self.bar_gap) + x,
|
||||
chart_area.top() + j,
|
||||
).set_symbol(symbol)
|
||||
.set_style(self.style);
|
||||
.set_style(self.style);
|
||||
}
|
||||
|
||||
if d.1 > 8 {
|
||||
|
|
|
@ -456,8 +456,7 @@ where
|
|||
coords: dataset.data,
|
||||
color: dataset.style.fg,
|
||||
});
|
||||
})
|
||||
.draw(graph_area, buf);
|
||||
}).draw(graph_area, buf);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -236,8 +236,7 @@ impl<'b> Widget for SelectableList<'b> {
|
|||
} else {
|
||||
Text::styled(item, self.style)
|
||||
}
|
||||
})
|
||||
.skip(offset as usize);
|
||||
}).skip(offset as usize);
|
||||
List::new(items)
|
||||
.block(self.block.unwrap_or_default())
|
||||
.style(self.style)
|
||||
|
|
Loading…
Reference in a new issue