[aurorae] Fix state changes for maximize/restore button in plastik theme
A check for whether the button is the maximize/restore button was still for the old syntax causing always the maximize button and never the restore to show. BUG: 354702 FIXED-IN: 5.4.3
This commit is contained in:
parent
f5a3a402f1
commit
7c3e4afe54
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ DecorationButton {
|
|||
Item {
|
||||
property int imageWidth: button.width > 14 ? button.width - 2 * Math.floor(button.width/3.5) : button.width - 6
|
||||
property int imageHeight: button.height > 14 ? button.height - 2 * Math.floor(button.height/3.5) : button.height - 6
|
||||
property string source: "image://plastik/" + button.buttonType + "/" + decoration.client.active + "/" + ((buttonType == "A") ? decoration.client.maximized : button.toggled)
|
||||
property string source: "image://plastik/" + button.buttonType + "/" + decoration.client.active + "/" + ((buttonType == DecorationOptions.DecorationButtonMaximizeRestore) ? decoration.client.maximized : button.toggled)
|
||||
anchors.fill: parent
|
||||
Image {
|
||||
id: shadowImage
|
||||
|
|
Loading…
Reference in a new issue