From d33f80aee73a9799ae18fe42c3f72b89d0678709 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 28 Jul 2025 18:15:40 +0800 Subject: perf: use less expansive font renderer for non-static/rapidly updating texts --- bar/Network.qml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bar/Network.qml') diff --git a/bar/Network.qml b/bar/Network.qml index 6ce9f67..c28e6d3 100644 --- a/bar/Network.qml +++ b/bar/Network.qml @@ -52,6 +52,7 @@ Item { IText { visible: !root.isCollapsed text: Services.Network.networkStrength + renderType: Text.CurveRendering // it's not static and is rapidly updated } RowLayout { @@ -64,6 +65,7 @@ Item { animate: true text: root.down + root.downUnit color: root.downUnit == root.usageUnit && root.down > root.significantUsage ? Colors.cyan : Colors.foreground2 + renderType: Text.CurveRendering // it's not static and is rapidly updated } } RowLayout { @@ -76,6 +78,7 @@ Item { animate: true text: root.up + root.upUnit color: root.upUnit == root.usageUnit && root.up > root.significantUsage ? Colors.cyan : Colors.foreground2 + renderType: Text.CurveRendering // it's not static and is rapidly updated } } -- cgit v1.2.3