summaryrefslogtreecommitdiff
path: root/components/SimpleResource.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/SimpleResource.qml')
-rw-r--r--components/SimpleResource.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/SimpleResource.qml b/components/SimpleResource.qml
index eac09d5..818327d 100644
--- a/components/SimpleResource.qml
+++ b/components/SimpleResource.qml
@@ -44,6 +44,7 @@ Item {
}
IText {
animate: true
+ renderType: Text.CurveRendering // it's not static and is rapidly updated
text: !root.isAlt ? root.text : root.altText
color: root.value < root.thresholdL1 ? Colors.foreground1 : root.value >= root.thresholdL3 ? root.thresholdColorL3 : root.value >= root.thresholdL2 ? root.thresholdColorL2 : root.thresholdColorL1
}