mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2025-12-11 13:26:16 +00:00
fix: action tooltips not updating
This commit is contained in:
@@ -33,6 +33,10 @@ export const action: Action<Element, {title?: string; shortcut?: string}> = (
|
||||
}
|
||||
|
||||
return {
|
||||
update(updated) {
|
||||
title = updated.title
|
||||
shortcut = updated.shortcut
|
||||
},
|
||||
destroy() {
|
||||
tooltip.destroy()
|
||||
hotkeys.unbind(shortcut)
|
||||
|
||||
Reference in New Issue
Block a user