taskswitcher: Don't set layer on task item, to avoid blurriness

Don't set a layer on the task item because it'll be put into a VBO and reduce the quality when the item is blown up in size.
This commit is contained in:
Devin Lin 2026-02-17 21:30:22 -05:00
parent d049679918
commit e915990621

View file

@ -7,7 +7,6 @@ pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Layouts
import Qt5Compat.GraphicalEffects
import org.kde.kirigami 2.20 as Kirigami
import org.kde.plasma.core as PlasmaCore
@ -240,11 +239,11 @@ Item {
id: thumbSource
wId: delegate.window.internalId
anchors.fill: item
layer.enabled: true
layer.effect: ColorOverlay {
color: Qt.rgba(0, 0, 0, delegate.darken)
}
Rectangle {
anchors.fill: item
color: Qt.rgba(0, 0, 0, delegate.darken)
}
}
}