Commit 7a727fde authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Kickoff] Don't enable OpacityMask layer.effect in software mode

It won't render otherwise. The code tried to check but only disabled the outline, not the actual effect.

Differential Revision: https://phabricator.kde.org/D26958
parent ec387280
......@@ -86,7 +86,8 @@ Item {
}
// Crop the avatar to fit in a circle, like the lock and login screens
layer.enabled: true
// but don't on software rendering where this won't render
layer.enabled: faceIcon.GraphicsInfo.api !== GraphicsInfo.Software
layer.effect: OpacityMask {
// this Rectangle is a circle due to radius size
maskSource: Rectangle {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment