diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-08-14 15:18:11 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-08-14 15:37:02 +0800 |
| commit | 4f69a5086f201fadddf5e8eb82e58134e43d34c1 (patch) | |
| tree | 6b5963d96539801df3f45b890c26109ad00f7342 /bar/TimeDate.qml | |
| parent | 495dfd94657c8adc28e0bb2d442fa9bf1f6a1f45 (diff) | |
perf(IText): more performant rendering type
Diffstat (limited to 'bar/TimeDate.qml')
| -rw-r--r-- | bar/TimeDate.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bar/TimeDate.qml b/bar/TimeDate.qml index 8e554ef..2716e6d 100644 --- a/bar/TimeDate.qml +++ b/bar/TimeDate.qml @@ -58,6 +58,7 @@ Item { } IText { text: ":" + renderType: Text.CurveRendering } IText { animate: true @@ -65,11 +66,12 @@ Item { } IText { text: ":" + renderType: Text.CurveRendering } IText { animate: true text: (root.s >= 10 ? "" : "0") + root.s - renderType: Text.CurveRendering // it's not static and is rapidly updated + renderType: Text.QtRendering // it's not static and is rapidly updated } } Item { |
