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

This commit is contained in:
rcmerci
2025-05-21 14:27:31 +08:00
parent 1ee7f50e63
commit b2ae56fdb6
3 changed files with 13 additions and 2 deletions

View File

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