[ToolButtonStyle] Use same color group for hovered state
This is a remnant from when we used a full background on hovered ToolButtons instead of the frame we have now. It broke icon item appearance when hovered in a custom ColorScope. Reviewed-By: notmart
This commit is contained in:
parent
781d2f6fff
commit
1f0215ebc6
@ -80,7 +80,7 @@ QtQuickControlStyle.ButtonStyle {
|
||||
Layout.maximumHeight: Layout.minimumWidth
|
||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
|
||||
active: style.controlHovered
|
||||
colorGroup: controlHovered || !flat ? PlasmaCore.Theme.ButtonColorGroup : PlasmaCore.ColorScope.colorGroup
|
||||
colorGroup: !flat ? PlasmaCore.Theme.ButtonColorGroup : PlasmaCore.ColorScope.colorGroup
|
||||
}
|
||||
|
||||
//NOTE: this is used only to check elements existence
|
||||
|
Loading…
Reference in New Issue
Block a user