From 6d7366f74c7a4e00f4fc6d6b3a11419c85a590e2 Mon Sep 17 00:00:00 2001 From: zhuzihcu Date: Thu, 8 Jun 2023 13:57:16 +0800 Subject: [PATCH] update --- src/imports/FluentUI/Controls/FluButton.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/imports/FluentUI/Controls/FluButton.qml b/src/imports/FluentUI/Controls/FluButton.qml index f8fb439..e8c566b 100644 --- a/src/imports/FluentUI/Controls/FluButton.qml +++ b/src/imports/FluentUI/Controls/FluButton.qml @@ -42,6 +42,12 @@ Button { border.color: FluTheme.dark ? "#505050" : "#DFDFDF" border.width: 1 radius: 4 + color:{ + if(disabled){ + return disableColor + } + return hovered ? hoverColor :normalColor + } FluFocusRectangle{ visible: control.activeFocus radius:4