quicksettings: bring back notification glow and well-positioned clock

This commit is contained in:
Yari Polla 2022-05-16 18:47:40 +02:00 committed by Devin Lin
parent fa759eb79e
commit 47845000a7
2 changed files with 3 additions and 1 deletions

View file

@ -37,6 +37,7 @@ PlasmaCore.ColorScope {
// fullscreen background // fullscreen background
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
// darken if there are notifications // darken if there are notifications
color: Qt.rgba(PlasmaCore.Theme.backgroundColor.r, color: Qt.rgba(PlasmaCore.Theme.backgroundColor.r,
PlasmaCore.Theme.backgroundColor.g, PlasmaCore.Theme.backgroundColor.g,
@ -67,6 +68,7 @@ PlasmaCore.ColorScope {
spacing: 0 spacing: 0
anchors { anchors {
top: mediaWidget.bottom top: mediaWidget.bottom
topMargin: minWidthHeight * 0.06
bottom: parent.bottom bottom: parent.bottom
bottomMargin: minWidthHeight * 0.06 bottomMargin: minWidthHeight * 0.06
right: quickSettings.left right: quickSettings.left

View file

@ -106,7 +106,7 @@ Item {
id: list id: list
model: historyModel model: historyModel
currentIndex: -1 currentIndex: -1
clip: true
property var pendingNotificationWithAction property var pendingNotificationWithAction
boundsBehavior: Flickable.StopAtBounds boundsBehavior: Flickable.StopAtBounds