mirror of
https://github.com/charmbracelet/gum
synced 2024-04-30 05:32:52 +02:00
fix(table): removed inheritance for selected foreground (#300)
This commit is contained in:
parent
1267b7a78e
commit
2bda001480
|
@ -74,7 +74,7 @@ func (o Options) Run() error {
|
|||
styles := table.Styles{
|
||||
Cell: defaultStyles.Cell.Inherit(o.CellStyle.ToLipgloss()),
|
||||
Header: defaultStyles.Header.Inherit(o.HeaderStyle.ToLipgloss()),
|
||||
Selected: defaultStyles.Selected.Inherit(o.SelectedStyle.ToLipgloss()),
|
||||
Selected: o.SelectedStyle.ToLipgloss(),
|
||||
}
|
||||
|
||||
var rows = make([]table.Row, 0, len(data))
|
||||
|
|
Loading…
Reference in a new issue