mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
This commit is contained in:
5
.changes/fix-invoke-devtools-by-hotkey.md
Normal file
5
.changes/fix-invoke-devtools-by-hotkey.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch:bug
|
||||
---
|
||||
|
||||
Fix invoking toggle devtools by hotkey.
|
||||
@@ -14,7 +14,7 @@
|
||||
document.addEventListener('keydown', (event) => {
|
||||
if (isHotkey(event)) {
|
||||
window.__TAURI_INTERNALS__.invoke(
|
||||
'plugin:window|internal_toggle_devtools'
|
||||
'plugin:webview|internal_toggle_devtools'
|
||||
)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user