mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: adjust one row height in the sensors widget
This commit is contained in:
@@ -137,7 +137,7 @@ public class SensorsWidget: Widget {
|
||||
|
||||
let value = CAText(fontSize: 14)
|
||||
value.name = sensor.key
|
||||
value.frame = CGRect(x: x, y: (Constants.Widget.height-14)/2, width: width, height: 14)
|
||||
value.frame = CGRect(x: x, y: ((Constants.Widget.height-14)/2) - 2, width: width, height: 16)
|
||||
value.font = font
|
||||
value.string = sensor.value
|
||||
value.alignmentMode = .right
|
||||
|
||||
Reference in New Issue
Block a user