This commit is contained in:
朱子楚\zhuzi 2024-04-28 10:51:13 +08:00
parent 24fdff7e35
commit 29cee84edd
4 changed files with 4 additions and 10 deletions

View File

@ -48,9 +48,6 @@ T.MenuBarItem {
radius: 3 radius: 3
color: { color: {
if(control.highlighted){ if(control.highlighted){
return FluTheme.itemCheckColor
}
if(control.hovered){
return FluTheme.itemHoverColor return FluTheme.itemHoverColor
} }
return FluTheme.itemNormalColor return FluTheme.itemNormalColor

View File

@ -99,9 +99,9 @@ T.MenuItem {
anchors.fill: parent anchors.fill: parent
anchors.margins: 3 anchors.margins: 3
radius: 4 radius: 4
color:{ color: {
if(control.highlighted){ if(control.highlighted){
return FluTheme.itemCheckColor return FluTheme.itemHoverColor
} }
return FluTheme.itemNormalColor return FluTheme.itemNormalColor
} }

View File

@ -49,9 +49,6 @@ T.MenuBarItem {
radius: 3 radius: 3
color: { color: {
if(control.highlighted){ if(control.highlighted){
return FluTheme.itemCheckColor
}
if(control.hovered){
return FluTheme.itemHoverColor return FluTheme.itemHoverColor
} }
return FluTheme.itemNormalColor return FluTheme.itemNormalColor

View File

@ -100,9 +100,9 @@ T.MenuItem {
anchors.fill: parent anchors.fill: parent
anchors.margins: 3 anchors.margins: 3
radius: 4 radius: 4
color:{ color: {
if(control.highlighted){ if(control.highlighted){
return FluTheme.itemCheckColor return FluTheme.itemHoverColor
} }
return FluTheme.itemNormalColor return FluTheme.itemNormalColor
} }