1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-01 19:18:28 -04:00

osd: click to hide some osds (#2927)

This commit is contained in:
ArijanJ
2026-07-24 21:19:47 +02:00
committed by GitHub
parent f57f254855
commit 7222e072af
4 changed files with 40 additions and 0 deletions
+10
View File
@@ -42,6 +42,11 @@ DankOSD {
width: parent.width - Theme.spacingS * 2 width: parent.width - Theme.spacingS * 2
height: 40 height: 40
MouseArea {
anchors.fill: parent
onClicked: root.hide()
}
Rectangle { Rectangle {
width: Theme.iconSize width: Theme.iconSize
height: Theme.iconSize height: Theme.iconSize
@@ -125,6 +130,11 @@ DankOSD {
anchors.fill: parent anchors.fill: parent
property int gap: Theme.spacingS property int gap: Theme.spacingS
MouseArea {
anchors.fill: parent
onClicked: root.hide()
}
Rectangle { Rectangle {
width: Theme.iconSize width: Theme.iconSize
height: Theme.iconSize height: Theme.iconSize
+10
View File
@@ -81,6 +81,11 @@ DankOSD {
width: parent.width - Theme.spacingS * 2 width: parent.width - Theme.spacingS * 2
height: 40 height: 40
MouseArea {
anchors.fill: parent
onClicked: root.hide()
}
Rectangle { Rectangle {
width: Theme.iconSize width: Theme.iconSize
height: Theme.iconSize height: Theme.iconSize
@@ -147,6 +152,11 @@ DankOSD {
anchors.fill: parent anchors.fill: parent
property int gap: Theme.spacingS property int gap: Theme.spacingS
MouseArea {
anchors.fill: parent
onClicked: root.hide()
}
Rectangle { Rectangle {
width: Theme.iconSize width: Theme.iconSize
height: Theme.iconSize height: Theme.iconSize
+10
View File
@@ -65,6 +65,11 @@ DankOSD {
width: parent.width - Theme.spacingS * 2 width: parent.width - Theme.spacingS * 2
height: 40 height: 40
MouseArea {
anchors.fill: parent
onClicked: root.hide()
}
Rectangle { Rectangle {
width: Theme.iconSize width: Theme.iconSize
height: Theme.iconSize height: Theme.iconSize
@@ -137,6 +142,11 @@ DankOSD {
anchors.fill: parent anchors.fill: parent
property int gap: Theme.spacingS property int gap: Theme.spacingS
MouseArea {
anchors.fill: parent
onClicked: root.hide()
}
Rectangle { Rectangle {
width: Theme.iconSize width: Theme.iconSize
height: Theme.iconSize height: Theme.iconSize
+10
View File
@@ -60,6 +60,11 @@ DankOSD {
width: parent.width - Theme.spacingS * 2 width: parent.width - Theme.spacingS * 2
height: 40 height: 40
MouseArea {
anchors.fill: parent
onClicked: root.hide()
}
Rectangle { Rectangle {
width: Theme.iconSize width: Theme.iconSize
height: Theme.iconSize height: Theme.iconSize
@@ -132,6 +137,11 @@ DankOSD {
anchors.fill: parent anchors.fill: parent
property int gap: Theme.spacingS property int gap: Theme.spacingS
MouseArea {
anchors.fill: parent
onClicked: root.hide()
}
Rectangle { Rectangle {
width: Theme.iconSize width: Theme.iconSize
height: Theme.iconSize height: Theme.iconSize