feat(sysgraphs): sharper

This commit is contained in:
Lemmy
2026-03-22 20:01:38 -04:00
parent 05ef6849d8
commit 187fced35e
3 changed files with 5 additions and 6 deletions
@@ -198,9 +198,8 @@ DraggableDesktopWidget {
color2: root.color2
fill: true
updateInterval: root.graphUpdateInterval
strokeWidth: 1.5 * Style.uiScaleRatio * root.widgetScale
strokeWidth: Math.max(1, root.widgetScale)
animateScale: root.statType === "Network"
antialiasing: 0.5 * root.widgetScale
}
}
@@ -136,7 +136,7 @@ SmartPanel {
maxValue2: Math.max(SystemStatService.cpuTempHistoryMax + 5, 1)
color: Color.mPrimary
color2: Color.mSecondary
strokeWidth: 1.5 * Style.uiScaleRatio
strokeWidth: Math.max(1, Style.uiScaleRatio)
fill: true
fillOpacity: 0.15
updateInterval: SystemStatService.cpuUsageIntervalMs
@@ -190,7 +190,7 @@ SmartPanel {
minValue: 0
maxValue: 100
color: Color.mPrimary
strokeWidth: 1.5 * Style.uiScaleRatio
strokeWidth: Math.max(1, Style.uiScaleRatio)
fill: true
fillOpacity: 0.15
updateInterval: SystemStatService.memIntervalMs
@@ -262,7 +262,7 @@ SmartPanel {
maxValue2: SystemStatService.txMaxSpeed
color: Color.mPrimary
color2: Color.mSecondary
strokeWidth: 1.5 * Style.uiScaleRatio
strokeWidth: Math.max(1, Style.uiScaleRatio)
fill: true
fillOpacity: 0.15
updateInterval: SystemStatService.networkIntervalMs
+1 -1
View File
@@ -23,7 +23,7 @@ Item {
property real maxValue2: maxValue
// Style settings
property real strokeWidth: 1.5
property real strokeWidth: 1
property bool fill: true
property real fillOpacity: 0.15
property real antialiasing: 0.5