Merge pull request #316 from imaben/hotfix-pivot-style

optimize style for FluPivot
This commit is contained in:
zhuzichu 2023-10-17 22:15:46 +08:00 committed by GitHub
commit 483c5f8e09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ Page {
font.pixelSize: control.textSize font.pixelSize: control.textSize
font.bold: control.textBold font.bold: control.textBold
color: { color: {
if(item_button.hovered) if(item_button.hovered || nav_list.currentIndex === index)
return textHoverColor return textHoverColor
return textNormalColor return textNormalColor
} }