From af01426f436d484f440d966c2d0a9bad800beeea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Fri, 8 Dec 2023 22:46:01 +0100 Subject: [PATCH] fix: action tooltips not updating --- src/lib/title.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/title.ts b/src/lib/title.ts index 04af32e2..ab42e73f 100644 --- a/src/lib/title.ts +++ b/src/lib/title.ts @@ -33,6 +33,10 @@ export const action: Action = ( } return { + update(updated) { + title = updated.title + shortcut = updated.shortcut + }, destroy() { tooltip.destroy() hotkeys.unbind(shortcut)