mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-10 07:04:17 +00:00
refactor(gauge): fix internal typo (#1048)
This commit is contained in:
parent
bef5bcf750
commit
f3172c59d4
1 changed files with 2 additions and 2 deletions
|
@ -164,12 +164,12 @@ impl WidgetRef for Gauge<'_> {
|
|||
buf.set_style(area, self.style);
|
||||
self.block.render_ref(area, buf);
|
||||
let inner = self.block.inner_if_some(area);
|
||||
self.render_gague(inner, buf);
|
||||
self.render_gauge(inner, buf);
|
||||
}
|
||||
}
|
||||
|
||||
impl Gauge<'_> {
|
||||
fn render_gague(&self, gauge_area: Rect, buf: &mut Buffer) {
|
||||
fn render_gauge(&self, gauge_area: Rect, buf: &mut Buffer) {
|
||||
if gauge_area.is_empty() {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue