enhance(rtc): add command :dev/rtc-stop

This commit is contained in:
rcmerci
2025-05-21 12:49:11 +08:00
parent 9a581d8767
commit 1ee7f50e63
3 changed files with 11 additions and 1 deletions

View File

@@ -637,7 +637,11 @@
:dev/validate-db {:binding []
:db-graph? true
:inactive (not (state/developer-mode?))
:fn :frontend.handler.common.developer/validate-db}})
:fn :frontend.handler.common.developer/validate-db}
:dev/rtc-stop {:binding []
:db-graph? true
:inactive (not (state/developer-mode?))
:fn :frontend.handler.common.developer/rtc-stop}})
(let [keyboard-commands
{::commands (set (keys all-built-in-keyboard-shortcuts))
@@ -866,6 +870,7 @@
:dev/replace-graph-with-db-file
:dev/validate-db
:dev/fix-broken-graph
:dev/rtc-stop
:ui/customize-appearance])
(with-meta {:before m/enable-when-not-editing-mode!}))
@@ -1059,6 +1064,7 @@
:dev/replace-graph-with-db-file
:dev/validate-db
:dev/fix-broken-graph
:dev/rtc-stop
:ui/clear-all-notifications]
:shortcut.category/plugins