[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:
Nate Graham 2020-08-12 15:42:34 -06:00
parent 49bb7d152b
commit f389064ca3

View File

@ -120,7 +120,7 @@ T.ToolButton {
} else if (keyboardFocus) {
return "focus"
} else {
return control.flat ? "shadow" : "hidden"
return control.flat ? "hidden" : "shadow"
}
}
}