[PlasmaComponents3] Fix checkable toolbutton background
Summary: This fixed the background of a checkable PC3 ToolButton not being visible when checked. The PC3 Button and PC2 ToolButton did not suffer from the issue, but the PC3 one did. Test Plan: Checkable PC3 ToolButtons now look checked when checked No change for non-checkable PC3 ToolButtons Reviewers: #plasma, mart Reviewed By: #plasma, mart Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D24402
This commit is contained in:
parent
04c8eca727
commit
949a26d3fa
@ -70,7 +70,6 @@ T.ToolButton {
|
||||
}
|
||||
|
||||
background: Item {
|
||||
visible: (!control.flat || control.hovered) && (!control.pressed || !control.checked)
|
||||
//retrocompatibility with old controls
|
||||
implicitWidth: units.gridUnit * 1.6
|
||||
implicitHeight: units.gridUnit * 1.6
|
||||
|
Loading…
Reference in New Issue
Block a user