mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-26 06:30:29 +00:00
style: fmt
This commit is contained in:
parent
aa85e597d9
commit
d8e5f57d53
3 changed files with 3 additions and 5 deletions
|
@ -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