Removed all layer.enabled as they do not play well with fractional scaling.

This commit is contained in:
LemmyCook 2025-09-04 20:36:32 -04:00
parent a249e15c58
commit e5aee79d47
6 changed files with 1 additions and 36 deletions

View file

@ -55,7 +55,6 @@ Variants {
anchors.fill: parent anchors.fill: parent
color: Qt.alpha(Color.mSurface, Settings.data.bar.backgroundOpacity) color: Qt.alpha(Color.mSurface, Settings.data.bar.backgroundOpacity)
layer.enabled: true
} }
// ------------------------------ // ------------------------------

View file

@ -132,13 +132,7 @@ Item {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
layer.enabled: true
layer.effect: MultiEffect {
shadowColor: Color.mShadow
shadowVerticalOffset: 0
shadowHorizontalOffset: 0
shadowOpacity: 0.10
}
} }
Row { Row {

View file

@ -149,16 +149,6 @@ Variants {
} }
} }
// Drop shadow for better visibility when bar is transparent
layer.enabled: true
layer.effect: MultiEffect {
shadowEnabled: true
shadowColor: Qt.rgba(0, 0, 0, 0.3)
shadowBlur: 0.5
shadowVerticalOffset: 2
shadowHorizontalOffset: 0
}
MouseArea { MouseArea {
id: dockMouseArea id: dockMouseArea
anchors.fill: parent anchors.fill: parent

View file

@ -99,14 +99,6 @@ Loader {
mipmap: false mipmap: false
} }
Rectangle {
anchors.fill: parent
color: Color.transparent
layer.enabled: true
layer.smooth: true
layer.samples: 4
}
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
gradient: Gradient { gradient: Gradient {

View file

@ -188,7 +188,6 @@ Loader {
radius: Style.radiusL * scaling radius: Style.radiusL * scaling
border.color: Color.mOutline border.color: Color.mOutline
border.width: Math.max(1, Style.borderS * scaling) border.width: Math.max(1, Style.borderS * scaling)
layer.enabled: true
width: panelWidth width: panelWidth
height: panelHeight height: panelHeight

View file

@ -101,15 +101,6 @@ Item {
} }
border.width: Math.max(2, Style.borderM * scaling) border.width: Math.max(2, Style.borderM * scaling)
// Drop shadow effect
layer.enabled: true
layer.effect: MultiEffect {
shadowEnabled: true
shadowColor: Qt.rgba(0, 0, 0, 0.3)
shadowBlur: 20 * scaling
shadowVerticalOffset: 4 * scaling
}
RowLayout { RowLayout {
id: contentLayout id: contentLayout
anchors.fill: parent anchors.fill: parent