mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-05-04 22:17:48 +08:00
change setUnfocusPanel to use foreground color
This commit is contained in:
parent
c2945ab49c
commit
0aee1ffce8
4
gomu.go
4
gomu.go
@ -130,8 +130,8 @@ func (g *Gomu) setFocusPanel(panel Panel) {
|
|||||||
|
|
||||||
// Removes the color of the given panel
|
// Removes the color of the given panel
|
||||||
func (g *Gomu) setUnfocusPanel(panel Panel) {
|
func (g *Gomu) setUnfocusPanel(panel Panel) {
|
||||||
g.prevPanel.SetBorderColor(g.colors.background)
|
g.prevPanel.SetBorderColor(g.colors.foreground)
|
||||||
g.prevPanel.SetTitleColor(g.colors.background)
|
g.prevPanel.SetTitleColor(g.colors.foreground)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Quit the application and do the neccessary clean up
|
// Quit the application and do the neccessary clean up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user