Skip to content

Commit a2a6502

Browse files
committed
fix: black background when using images with alpha channel
1 parent 38b5669 commit a2a6502

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package/contents/ui/components/CustomBackground.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Rectangle {
263263

264264
Kirigami.Theme.colorSet: Kirigami.Theme[bgColorCfg.systemColorSet]
265265
color: {
266-
if (bgEnabled && rect.bgColorCfg.sourceType !== 5) {
266+
if (bgEnabled && rect.bgColorCfg.sourceType < 5) {
267267
return Utils.getColor(bgColorCfg, targetIndex, null, itemType, rect);
268268
} else {
269269
return "transparent";

0 commit comments

Comments
 (0)