mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
feat(sysgraphs): sharper
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user