Add animations everywhere

This commit is contained in:
Ly-sec 2025-08-13 15:08:54 +02:00
parent e2a0e491a0
commit bf94ebe46d
11 changed files with 618 additions and 28 deletions

View file

@ -19,7 +19,17 @@ NIconButton {
notificationHistoryPanelLoader.isLoaded = true
}
if (notificationHistoryPanelLoader.item) {
notificationHistoryPanelLoader.item.visible = !notificationHistoryPanelLoader.item.visible
if (notificationHistoryPanelLoader.item.visible) {
// Panel is visible, hide it with animation
if (notificationHistoryPanelLoader.item.hide) {
notificationHistoryPanelLoader.item.hide()
} else {
notificationHistoryPanelLoader.item.visible = false
}
} else {
// Panel is hidden, show it
notificationHistoryPanelLoader.item.visible = true
}
}
}