controlcenter: wallpaper gradient/outline 1px fix
This commit is contained in:
parent
483a6fe8e4
commit
c3d9fb8dc0
1 changed files with 9 additions and 5 deletions
|
|
@ -1923,6 +1923,7 @@ RowLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: Colours.tPalette.m3surfaceContainer
|
color: Colours.tPalette.m3surfaceContainer
|
||||||
radius: Appearance.rounding.normal
|
radius: Appearance.rounding.normal
|
||||||
|
antialiasing: true
|
||||||
|
|
||||||
CachingImage {
|
CachingImage {
|
||||||
id: cachingImage
|
id: cachingImage
|
||||||
|
|
@ -1931,6 +1932,7 @@ RowLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
cache: true
|
cache: true
|
||||||
visible: opacity > 0
|
visible: opacity > 0
|
||||||
|
antialiasing: true
|
||||||
|
|
||||||
// Show when ready
|
// Show when ready
|
||||||
opacity: status === Image.Ready ? 1 : 0
|
opacity: status === Image.Ready ? 1 : 0
|
||||||
|
|
@ -1953,6 +1955,7 @@ RowLayout {
|
||||||
fillMode: Image.PreserveAspectCrop
|
fillMode: Image.PreserveAspectCrop
|
||||||
cache: true
|
cache: true
|
||||||
visible: opacity > 0
|
visible: opacity > 0
|
||||||
|
antialiasing: true
|
||||||
|
|
||||||
opacity: status === Image.Ready && cachingImage.status !== Image.Ready ? 1 : 0
|
opacity: status === Image.Ready && cachingImage.status !== Image.Ready ? 1 : 0
|
||||||
|
|
||||||
|
|
@ -1982,6 +1985,7 @@ RowLayout {
|
||||||
radius: Appearance.rounding.normal
|
radius: Appearance.rounding.normal
|
||||||
border.width: isCurrent ? 2 : 0
|
border.width: isCurrent ? 2 : 0
|
||||||
border.color: Colours.palette.m3primary
|
border.color: Colours.palette.m3primary
|
||||||
|
antialiasing: true
|
||||||
|
|
||||||
Behavior on border.width {
|
Behavior on border.width {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
|
|
@ -2019,16 +2023,16 @@ RowLayout {
|
||||||
color: Qt.rgba(0, 0, 0, 0)
|
color: Qt.rgba(0, 0, 0, 0)
|
||||||
}
|
}
|
||||||
GradientStop {
|
GradientStop {
|
||||||
position: 0.3
|
position: 0.4
|
||||||
color: Qt.rgba(0, 0, 0, 0.3)
|
color: Qt.rgba(0, 0, 0, 0.2)
|
||||||
}
|
}
|
||||||
GradientStop {
|
GradientStop {
|
||||||
position: 0.7
|
position: 0.8
|
||||||
color: Qt.rgba(0, 0, 0, 0.75)
|
color: Qt.rgba(0, 0, 0, 0.5)
|
||||||
}
|
}
|
||||||
GradientStop {
|
GradientStop {
|
||||||
position: 1.0
|
position: 1.0
|
||||||
color: Qt.rgba(0, 0, 0, 0.85)
|
color: Qt.rgba(0, 0, 0, 0.6)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue