mirror of
https://github.com/charmbracelet/glow
synced 2024-12-13 13:42:34 +00:00
Don't dim the search entry when blurring the search field
This commit is contained in:
parent
759b8707f8
commit
7b7a398c74
1 changed files with 1 additions and 4 deletions
|
@ -794,10 +794,7 @@ func stashView(m stashModel) string {
|
|||
logoOrSearch := glowLogoView(" Glow ")
|
||||
|
||||
// If we're filtering we replace the logo with the search field
|
||||
if m.state == stashStateSearchNotes {
|
||||
logoOrSearch = textinput.View(m.searchInput)
|
||||
} else if m.state == stashStateShowFiltered {
|
||||
m.searchInput.TextColor = m.searchInput.PlaceholderColor
|
||||
if m.state == stashStateSearchNotes || m.state == stashStateShowFiltered {
|
||||
logoOrSearch = textinput.View(m.searchInput)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue