revert border glow shader, keep solid group backgrounds
This commit is contained in:
parent
0181c566cf
commit
8e8d0e6fa5
1 changed files with 0 additions and 13 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Effects
|
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Wayland
|
import Quickshell.Wayland
|
||||||
|
|
@ -29,9 +28,7 @@ PanelWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
Canvas {
|
Canvas {
|
||||||
id: borderCanvas
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
visible: false
|
|
||||||
|
|
||||||
onPaint: {
|
onPaint: {
|
||||||
const ctx = getContext("2d");
|
const ctx = getContext("2d");
|
||||||
|
|
@ -97,16 +94,6 @@ PanelWindow {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MultiEffect {
|
|
||||||
source: borderCanvas
|
|
||||||
anchors.fill: borderCanvas
|
|
||||||
shadowEnabled: true
|
|
||||||
shadowColor: M.Theme.base0D
|
|
||||||
shadowBlur: 0.4
|
|
||||||
shadowVerticalOffset: 2
|
|
||||||
shadowHorizontalOffset: 0
|
|
||||||
}
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.topMargin: 3
|
anchors.topMargin: 3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue