notifpopup: remove critical glow drop shadow
This commit is contained in:
parent
2bb7f6b8e7
commit
7f0df9eb47
1 changed files with 0 additions and 11 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Effects
|
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Wayland
|
import Quickshell.Wayland
|
||||||
import Quickshell.Services.Notifications
|
import Quickshell.Services.Notifications
|
||||||
|
|
@ -50,16 +49,6 @@ PanelWindow {
|
||||||
readonly property real _targetHeight: _card.implicitHeight
|
readonly property real _targetHeight: _card.implicitHeight
|
||||||
property real _heightScale: 0
|
property real _heightScale: 0
|
||||||
|
|
||||||
// Glow on critical — layer effect composites everything including NotifCard
|
|
||||||
layer.enabled: popupItem.modelData.urgency === NotificationUrgency.Critical
|
|
||||||
layer.effect: MultiEffect {
|
|
||||||
shadowEnabled: true
|
|
||||||
shadowColor: M.Theme.base08
|
|
||||||
shadowBlur: 0.6
|
|
||||||
shadowVerticalOffset: 0
|
|
||||||
shadowHorizontalOffset: 0
|
|
||||||
}
|
|
||||||
|
|
||||||
M.NotifCard {
|
M.NotifCard {
|
||||||
id: _card
|
id: _card
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue