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
|
color2: root.color2
|
||||||
fill: true
|
fill: true
|
||||||
updateInterval: root.graphUpdateInterval
|
updateInterval: root.graphUpdateInterval
|
||||||
strokeWidth: 1.5 * Style.uiScaleRatio * root.widgetScale
|
strokeWidth: Math.max(1, root.widgetScale)
|
||||||
animateScale: root.statType === "Network"
|
animateScale: root.statType === "Network"
|
||||||
antialiasing: 0.5 * root.widgetScale
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ SmartPanel {
|
|||||||
maxValue2: Math.max(SystemStatService.cpuTempHistoryMax + 5, 1)
|
maxValue2: Math.max(SystemStatService.cpuTempHistoryMax + 5, 1)
|
||||||
color: Color.mPrimary
|
color: Color.mPrimary
|
||||||
color2: Color.mSecondary
|
color2: Color.mSecondary
|
||||||
strokeWidth: 1.5 * Style.uiScaleRatio
|
strokeWidth: Math.max(1, Style.uiScaleRatio)
|
||||||
fill: true
|
fill: true
|
||||||
fillOpacity: 0.15
|
fillOpacity: 0.15
|
||||||
updateInterval: SystemStatService.cpuUsageIntervalMs
|
updateInterval: SystemStatService.cpuUsageIntervalMs
|
||||||
@@ -190,7 +190,7 @@ SmartPanel {
|
|||||||
minValue: 0
|
minValue: 0
|
||||||
maxValue: 100
|
maxValue: 100
|
||||||
color: Color.mPrimary
|
color: Color.mPrimary
|
||||||
strokeWidth: 1.5 * Style.uiScaleRatio
|
strokeWidth: Math.max(1, Style.uiScaleRatio)
|
||||||
fill: true
|
fill: true
|
||||||
fillOpacity: 0.15
|
fillOpacity: 0.15
|
||||||
updateInterval: SystemStatService.memIntervalMs
|
updateInterval: SystemStatService.memIntervalMs
|
||||||
@@ -262,7 +262,7 @@ SmartPanel {
|
|||||||
maxValue2: SystemStatService.txMaxSpeed
|
maxValue2: SystemStatService.txMaxSpeed
|
||||||
color: Color.mPrimary
|
color: Color.mPrimary
|
||||||
color2: Color.mSecondary
|
color2: Color.mSecondary
|
||||||
strokeWidth: 1.5 * Style.uiScaleRatio
|
strokeWidth: Math.max(1, Style.uiScaleRatio)
|
||||||
fill: true
|
fill: true
|
||||||
fillOpacity: 0.15
|
fillOpacity: 0.15
|
||||||
updateInterval: SystemStatService.networkIntervalMs
|
updateInterval: SystemStatService.networkIntervalMs
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ Item {
|
|||||||
property real maxValue2: maxValue
|
property real maxValue2: maxValue
|
||||||
|
|
||||||
// Style settings
|
// Style settings
|
||||||
property real strokeWidth: 1.5
|
property real strokeWidth: 1
|
||||||
property bool fill: true
|
property bool fill: true
|
||||||
property real fillOpacity: 0.15
|
property real fillOpacity: 0.15
|
||||||
property real antialiasing: 0.5
|
property real antialiasing: 0.5
|
||||||
|
|||||||
Reference in New Issue
Block a user