[PlasmaComponents3] Fix reversed condition for flat ToolButton shadow
Non-flat ToolButtons are supposed to have a shadow, but flat ToolButtons are not. The ternary providing this was inverted so that the reverse was true.
This commit is contained in:
parent
49bb7d152b
commit
f389064ca3
@ -120,7 +120,7 @@ T.ToolButton {
|
||||
} else if (keyboardFocus) {
|
||||
return "focus"
|
||||
} else {
|
||||
return control.flat ? "shadow" : "hidden"
|
||||
return control.flat ? "hidden" : "shadow"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user