Commit 79254bac authored by Nate Graham's avatar Nate Graham
Browse files

configuration: use highlighted delegate appearance on pressed as well

parent c826f447
......@@ -51,7 +51,7 @@ QQC2.ItemDelegate {
width: Kirigami.Units.iconSizes.medium
height: width
icon: model.icon
state: highlighted && Window.active ? QIconItem.SelectedState : QIconItem.DefaultState
state: Window.active && (delegate.highlighted || delegate.pressed) ? QIconItem.SelectedState : QIconItem.DefaultState
}
QQC2.Label {
......@@ -62,7 +62,7 @@ QQC2.ItemDelegate {
text: model.name
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
color: highlighted && Window.active ? Kirigami.Theme.highlightedTextColor : Kirigami.Theme.textColor
color: Window.active && (delegate.highlighted || delegate.pressed) ? Kirigami.Theme.highlightedTextColor : Kirigami.Theme.textColor
}
}
//END UI components
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment