From 4f69a5086f201fadddf5e8eb82e58134e43d34c1 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 14 Aug 2025 15:18:11 +0800 Subject: perf(IText): more performant rendering type --- bar/TimeDate.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bar/TimeDate.qml') 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 { -- cgit v1.2.3