mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 04:26:01 +00:00
correctly focusing tabs
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
|
||||
export let tabid;
|
||||
|
||||
const tabVisible: any = getContext('tabVisible');
|
||||
const tabFocused: any = getContext('tabFocused');
|
||||
const timerLabel = useTimerLabel();
|
||||
|
||||
let runnerId;
|
||||
@@ -82,7 +82,7 @@
|
||||
invalidateCommands();
|
||||
}
|
||||
|
||||
$: if ($tabVisible && domEditor) {
|
||||
$: if ($tabFocused && domEditor) {
|
||||
domEditor?.getEditor()?.focus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user