aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/companion/Companion.qml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/companion/Companion.qml')
-rw-r--r--desktop/companion/Companion.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/companion/Companion.qml b/desktop/companion/Companion.qml
index 7f740a3..0a1360f 100644
--- a/desktop/companion/Companion.qml
+++ b/desktop/companion/Companion.qml
@@ -143,12 +143,17 @@ PanelWindow {
return (Notify.queue || []).some(n => NC.shown(Notify.config, n, Notify.dnd,
Notify.drawerOpen, Notify.snoozeUntil, root.now));
}
- onShovedChanged: if (root.shoved) root.say("shoved")
+ property double shovedAt: 0
+ onShovedChanged: {
+ root.shovedAt = root.shoved ? Date.now() : 0;
+ if (root.shoved) root.say("shoved");
+ }
// --- state ----------------------------------------------------------
readonly property var mood: Mood.pick({
now: root.now, destructAt: root.destructAt, dodging: root.dodging, shoved: root.shoved,
+ shovedAt: root.shovedAt,
recording: root.asst.recording, busy: root.asst.busy, repliedAt: root.repliedAt,
clicks: root.clicks, mockAt: root.mockAt, typingAt: root.typingAt, wakeAt: root.wakeAt,
monologue: root.monologue, idle: root.idle,