From 7966371dead9076db6c56de4074b36d6f628678b Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 周五, 14 3月 2025 17:35:50 +0800
Subject: [PATCH] AWC: remove isEnabled in test methods

---
 examples/qml/main.qml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/examples/qml/main.qml b/examples/qml/main.qml
index d9ba183..dd4f284 100644
--- a/examples/qml/main.qml
+++ b/examples/qml/main.qml
@@ -49,7 +49,8 @@
             right: parent.right
         }
         height: 32
-        color: window.active ? "#3C3C3C" : "#505050"
+        //color: window.active ? "#3C3C3C" : "#505050"
+        color: "transparent"
         Component.onCompleted: windowAgent.setTitleBar(titleBar)
 
         Image {
@@ -143,6 +144,7 @@
         color: "#FEFEFE"
         Component.onCompleted: {
             if ($curveRenderingAvailable) {
+                console.log("Curve rendering for text is available.")
                 timeLabel.renderType = Text.CurveRendering
             }
         }

--
Gitblit v1.9.1