From 8a99b767ce1955eb5e73f7eb7dcd17cf0f1db32d Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Mon, 28 Dec 2020 12:00:06 +0100 Subject: [PATCH] fix: adjust one row height in the sensors widget --- ModuleKit/Widgets/Sensors.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ModuleKit/Widgets/Sensors.swift b/ModuleKit/Widgets/Sensors.swift index 17059290..38004ba6 100644 --- a/ModuleKit/Widgets/Sensors.swift +++ b/ModuleKit/Widgets/Sensors.swift @@ -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