1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 07:22:50 -05:00

Fix OSDs disappearing and toast exit anim

This commit is contained in:
bbedward
2025-08-20 11:06:47 -04:00
parent 1f24ad51f8
commit 8c7b72fb6c
5 changed files with 85 additions and 25 deletions

View File

@@ -24,10 +24,6 @@ DankOSD {
}
}
function resetHideTimer() {
if (root.shouldBeVisible)
root.hideTimer.restart()
}
Connections {
target: BrightnessService
@@ -92,10 +88,14 @@ DankOSD {
if (BrightnessService.brightnessAvailable) {
root.brightnessDebounceTimer.pendingValue = newValue
root.brightnessDebounceTimer.restart()
root.resetHideTimer()
resetHideTimer()
}
}
onContainsMouseChanged: {
setChildHovered(containsMouse)
}
onSliderDragFinished: function(finalValue) {
if (BrightnessService.brightnessAvailable) {
root.brightnessDebounceTimer.stop()