titlebar battery icon

This commit is contained in:
cuu 2019-01-07 22:23:17 +08:00
parent 4736ab131d
commit 4ee982e212

View File

@ -289,7 +289,7 @@ func (self *TitleBar) CheckBatteryStat() {
self.Icons["battery_charging"].SetIconIndex(cap_ge)
self.Icons["battery"] = self.Icons["battery_charging"]
}else {
self.Icons["battery_charging"].SetIconIndex(cap_ge)
self.Icons["battery_discharging"].SetIconIndex(cap_ge)
self.Icons["battery"] = self.Icons["battery_discharging"]
}
}