change setUnfocusPanel to use foreground color

This commit is contained in:
raziman 2021-03-15 22:36:40 +08:00
parent c2945ab49c
commit 0aee1ffce8

View File

@ -130,8 +130,8 @@ func (g *Gomu) setFocusPanel(panel Panel) {
// Removes the color of the given panel
func (g *Gomu) setUnfocusPanel(panel Panel) {
g.prevPanel.SetBorderColor(g.colors.background)
g.prevPanel.SetTitleColor(g.colors.background)
g.prevPanel.SetBorderColor(g.colors.foreground)
g.prevPanel.SetTitleColor(g.colors.foreground)
}
// Quit the application and do the neccessary clean up