added option to disable animations for some modules

This commit is contained in:
SomeElse
2026-05-14 20:32:19 +00:00
parent e3bfa6661f
commit c8450b44cb
4 changed files with 14 additions and 9 deletions

View File

@@ -317,7 +317,7 @@ Rectangle {
}
}
HoverHandler { id: hoverHandler; cursorShape: Qt.PointingHandCursor; onHoveredChanged: if (hovered) bellRingAnim.start() }
HoverHandler { id: hoverHandler; cursorShape: Qt.PointingHandCursor; onHoveredChanged: if (hovered && Cfg.Config.notificationShakeEnabled) bellRingAnim.start() }
TapHandler {
onTapped: {
if (historyPopup.popupOpen) {
@@ -414,7 +414,7 @@ Rectangle {
onNotification: function(notif) {
notif.tracked = true
bellRingAnim.start()
if (Cfg.Config.notificationShakeEnabled) bellRingAnim.start()
const timeStr = new Date().toLocaleTimeString(Qt.locale(), "HH:mm")
const toastId = notif.id + "_" + Date.now()