Fix hover text color in TrayMenu.qml
This commit is contained in:
parent
0572e0d646
commit
3f64bb1879
1 changed files with 2 additions and 2 deletions
|
|
@ -126,7 +126,7 @@ PopupWindow {
|
|||
id: text
|
||||
Layout.fillWidth: true
|
||||
color: (modelData?.enabled
|
||||
?? true) ? (mouseArea.containsMouse ? Colors.onAccent : Colors.textPrimary) : Colors.textDisabled
|
||||
?? true) ? (mouseArea.containsMouse ? Colors.textPrimary : Colors.textPrimary) : Colors.textDisabled
|
||||
text: modelData?.text ?? ""
|
||||
font.pointSize: Style.fontSizeSmall * scaling
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
|
@ -350,7 +350,7 @@ PopupWindow {
|
|||
color: mouseArea.containsMouse ? Colors.hover : "transparent"
|
||||
radius: Style.radiusSmall * scaling
|
||||
visible: !(modelData?.isSeparator ?? false)
|
||||
property color hoverTextColor: mouseArea.containsMouse ? Colors.onAccent : Colors.textPrimary
|
||||
property color hoverTextColor: mouseArea.containsMouse ? Colors.textPrimary : Colors.textPrimary
|
||||
|
||||
RowLayout {
|
||||
anchors.fill: parent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue