mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
navigationpanel: Fix disabled buttons from having grey icons
This commit is contained in:
parent
7e3d230f2e
commit
050ce9e5b8
1 changed files with 6 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ Controls.AbstractButton {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
NumberAnimation on opacity {
|
||||
id: opacityAnimator
|
||||
duration: Kirigami.Units.shortDuration
|
||||
|
|
@ -72,6 +73,11 @@ Controls.AbstractButton {
|
|||
|
||||
Kirigami.Icon {
|
||||
id: icon
|
||||
|
||||
// Workaround for icon colors being grey when button is disabled
|
||||
Kirigami.Theme.inherit: false
|
||||
Kirigami.Theme.colorSet: button.Kirigami.Theme.colorSet
|
||||
|
||||
readonly property real side: Math.min(button.width, button.height)
|
||||
anchors {
|
||||
fill: parent
|
||||
|
|
|
|||
Loading…
Reference in a new issue