Skip to content

Commit 29cee84

Browse files
author
朱子楚\zhuzi
committed
update
1 parent 24fdff7 commit 29cee84

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

src/Qt5/imports/FluentUI/Controls/FluMenuBarItem.qml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ T.MenuBarItem {
4848
radius: 3
4949
color: {
5050
if(control.highlighted){
51-
return FluTheme.itemCheckColor
52-
}
53-
if(control.hovered){
5451
return FluTheme.itemHoverColor
5552
}
5653
return FluTheme.itemNormalColor

src/Qt5/imports/FluentUI/Controls/FluMenuItem.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ T.MenuItem {
9999
anchors.fill: parent
100100
anchors.margins: 3
101101
radius: 4
102-
color:{
102+
color: {
103103
if(control.highlighted){
104-
return FluTheme.itemCheckColor
104+
return FluTheme.itemHoverColor
105105
}
106106
return FluTheme.itemNormalColor
107107
}

src/Qt6/imports/FluentUI/Controls/FluMenuBarItem.qml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ T.MenuBarItem {
4949
radius: 3
5050
color: {
5151
if(control.highlighted){
52-
return FluTheme.itemCheckColor
53-
}
54-
if(control.hovered){
5552
return FluTheme.itemHoverColor
5653
}
5754
return FluTheme.itemNormalColor

src/Qt6/imports/FluentUI/Controls/FluMenuItem.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ T.MenuItem {
100100
anchors.fill: parent
101101
anchors.margins: 3
102102
radius: 4
103-
color:{
103+
color: {
104104
if(control.highlighted){
105-
return FluTheme.itemCheckColor
105+
return FluTheme.itemHoverColor
106106
}
107107
return FluTheme.itemNormalColor
108108
}

0 commit comments

Comments
 (0)