mirror of
https://github.com/leon-ai/leon.git
synced 2024-09-11 18:27:21 +03:00
refactor(web app): change listen mic shortcut
This commit is contained in:
parent
b09eaed63d
commit
a5769dce6e
@ -29,7 +29,7 @@
|
|||||||
<small>
|
<small>
|
||||||
Use <kbd>↑</kbd> <kbd>↓</kbd> to browse history;
|
Use <kbd>↑</kbd> <kbd>↓</kbd> to browse history;
|
||||||
<kbd>↵</kbd> to submit;
|
<kbd>↵</kbd> to submit;
|
||||||
<kbd>alt + t to listen.</kbd>
|
<kbd>alt + c to listen.</kbd>
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
@ -28,7 +28,7 @@ const onkeydowninput = (e, client) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const onkeydowndocument = (e, cb) => {
|
const onkeydowndocument = (e, cb) => {
|
||||||
if (e.altKey && e.key === 't') {
|
if (e.altKey && e.key === 'c') {
|
||||||
cb()
|
cb()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user