mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Removed all layer.enabled as they do not play well with fractional scaling.
This commit is contained in:
@@ -55,7 +55,6 @@ Variants {
|
||||
|
||||
anchors.fill: parent
|
||||
color: Qt.alpha(Color.mSurface, Settings.data.bar.backgroundOpacity)
|
||||
layer.enabled: true
|
||||
}
|
||||
|
||||
// ------------------------------
|
||||
|
||||
@@ -132,13 +132,7 @@ Item {
|
||||
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
layer.enabled: true
|
||||
layer.effect: MultiEffect {
|
||||
shadowColor: Color.mShadow
|
||||
shadowVerticalOffset: 0
|
||||
shadowHorizontalOffset: 0
|
||||
shadowOpacity: 0.10
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Row {
|
||||
|
||||
@@ -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 {
|
||||
id: dockMouseArea
|
||||
anchors.fill: parent
|
||||
|
||||
@@ -99,14 +99,6 @@ Loader {
|
||||
mipmap: false
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: Color.transparent
|
||||
layer.enabled: true
|
||||
layer.smooth: true
|
||||
layer.samples: 4
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
gradient: Gradient {
|
||||
|
||||
@@ -188,7 +188,6 @@ Loader {
|
||||
radius: Style.radiusL * scaling
|
||||
border.color: Color.mOutline
|
||||
border.width: Math.max(1, Style.borderS * scaling)
|
||||
layer.enabled: true
|
||||
width: panelWidth
|
||||
height: panelHeight
|
||||
|
||||
|
||||
@@ -101,15 +101,6 @@ Item {
|
||||
}
|
||||
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 {
|
||||
id: contentLayout
|
||||
anchors.fill: parent
|
||||
|
||||
Reference in New Issue
Block a user