fix: change font.pixelSize in HamsterWidget.qml from float to int

This commit is contained in:
Sho 2026-08-01 23:56:16 +09:00
parent a24624108a
commit fdee906e24

View File

@ -70,7 +70,7 @@ PanelWindow {
Text { Text {
text: (60 + SystemMonitorService.cpuPct * 3) + " RPM • " + (SystemMonitorService.cpuPct > 70 ? "🔥 Sprinting" : (SystemMonitorService.cpuPct > 20 ? "⚡ Running" : "💤 Trotting")) text: (60 + SystemMonitorService.cpuPct * 3) + " RPM • " + (SystemMonitorService.cpuPct > 70 ? "🔥 Sprinting" : (SystemMonitorService.cpuPct > 20 ? "⚡ Running" : "💤 Trotting"))
color: Theme.comment color: Theme.comment
font.pixelSize: 9.5 font.pixelSize: 10
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
} }
} }