mirror of
https://github.com/charmbracelet/gum.git
synced 2024-09-11 14:35:30 +03: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 New Issue
Block a user