We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a594f99 commit 03a4dccCopy full SHA for 03a4dcc
src/lib/split-layout.ts
@@ -38,6 +38,10 @@ export class SplitLayout {
38
}
39
40
public set root(value: SplitNode | null) {
41
+ if (typeof value === "string") {
42
+ this.#focused = value;
43
+ }
44
+
45
layout.state.root = value;
46
47
src/routes/(main)/channels/split/+page.svelte
@@ -8,10 +8,6 @@
8
app.focused = null;
9
settings.state.lastJoined = null;
10
11
- if (typeof app.splits.root === "string") {
12
- app.splits.focused = app.splits.root;
13
- }
14
-
15
async function navigateSplit(event: KeyboardEvent) {
16
if (!app.splits.focused || !(event.metaKey || event.ctrlKey)) return;
17
0 commit comments