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:
@@ -124,7 +124,7 @@
|
||||
},
|
||||
];
|
||||
|
||||
const tabVisible: any = getContext('tabVisible');
|
||||
const tabFocused: any = getContext('tabFocused');
|
||||
const timerLabel = useTimerLabel();
|
||||
|
||||
let busy = false;
|
||||
@@ -181,7 +181,7 @@
|
||||
invalidateCommands();
|
||||
}
|
||||
|
||||
$: if ($tabVisible && domEditor) {
|
||||
$: if ($tabFocused && domEditor) {
|
||||
domEditor?.getEditor()?.focus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user