This commit is contained in:
Lemmy
2026-02-10 08:18:26 -05:00
parent 176128a610
commit b8a212978e
+8 -7
View File
@@ -306,17 +306,18 @@ Variants {
onClicked: {
if (mouse.button === Qt.RightButton) {
animateOut();
}
else if (mouse.button === Qt.LeftButton) {
} else if (mouse.button === Qt.LeftButton) {
var actions = model.actionsJson ? JSON.parse(model.actionsJson) : [];
var hasDefault = actions.some(function(a) { return a.identifier === "default" });
if (hasDefault) {
var hasDefault = actions.some(function (a) {
return a.identifier === "default";
});
if (hasDefault) {
NotificationService.invokeAction(notificationId, "default");
animateOut();
}
animateOut();
}
}
}
}
}
// Animation setup
function triggerEntryAnimation() {
animInDelayTimer.stop();