mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: removed battery colorizing (<20%) for inside percentage when colorizing is disabled (#1254)
This commit is contained in:
@@ -165,7 +165,7 @@ public class BatterykWidget: WidgetWrapper {
|
||||
width: maxWidth,
|
||||
height: batterySize.height - offset*2 - borderWidth*2 - 1
|
||||
), xRadius: 1, yRadius: 1)
|
||||
color.withAlphaComponent(0.65).set()
|
||||
(self.colorState ? color : NSColor.textColor).withAlphaComponent(0.65).set()
|
||||
innerUnderground.fill()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user