tweak(dashboard): adjust performance warning indicator
This commit is contained in:
parent
b9fcb7227b
commit
6e1fb585e3
1 changed files with 5 additions and 5 deletions
|
|
@ -31,7 +31,7 @@ ColumnLayout {
|
|||
value2: Math.min(1, SystemUsage.gpuTemp / 90)
|
||||
label2: root.displayTemp(SystemUsage.gpuTemp)
|
||||
sublabel2: qsTr("Temp")
|
||||
warning2: value2 > 0.75
|
||||
warning2: value2 > 0.8
|
||||
}
|
||||
|
||||
Resource {
|
||||
|
|
@ -48,7 +48,7 @@ ColumnLayout {
|
|||
value2: Math.min(1, SystemUsage.cpuTemp / 90)
|
||||
label2: root.displayTemp(SystemUsage.cpuTemp)
|
||||
sublabel2: qsTr("Temp")
|
||||
warning2: value2 > 0.75
|
||||
warning2: value2 > 0.8
|
||||
}
|
||||
|
||||
Resource {
|
||||
|
|
@ -107,7 +107,7 @@ ColumnLayout {
|
|||
Column {
|
||||
anchors.centerIn: parent
|
||||
|
||||
readonly property color color: res.warning1 ? Config.colors.error :
|
||||
readonly property color color: res.warning1 ? Color.mute(Config.colors.error, 1.3, 1.2) :
|
||||
res.value1 === 0 ? Config.colors.inactive : Config.colors.primary
|
||||
|
||||
CustomText {
|
||||
|
|
@ -131,9 +131,9 @@ ColumnLayout {
|
|||
anchors.horizontalCenter: parent.right
|
||||
anchors.top: parent.verticalCenter
|
||||
anchors.horizontalCenterOffset: -res.thickness / 2
|
||||
anchors.topMargin: res.thickness / 2 + 7
|
||||
anchors.topMargin: res.thickness / 2 + 5
|
||||
|
||||
readonly property color color: res.warning2 ? Config.colors.error :
|
||||
readonly property color color: res.warning2 ? Color.mute(Config.colors.error, 1.3, 1.2) :
|
||||
res.value2 === 0 ? Config.colors.inactive : Config.colors.primary
|
||||
|
||||
CustomText {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue