Fix remaining known Svelte UI regressions

Closes #1040
This commit is contained in:
Keavon Chambers
2023-03-20 21:26:33 -07:00
parent 9c10d18308
commit bfbabbc4dc
17 changed files with 62 additions and 69 deletions
@@ -29,11 +29,11 @@
let open = false;
let minWidth = 0;
$: selectedIndex, watchSelectedIndex();
$: watchSelectedIndex(selectedIndex);
$: watchActiveEntry(activeEntry);
// Called only when `selectedIndex` is changed from outside this component
function watchSelectedIndex() {
function watchSelectedIndex(_?: number) {
activeEntrySkipWatcher = true;
activeEntry = makeActiveEntry();
}