mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
8832304eeb
commit
19e2bd2ab8
21 changed files with 81 additions and 66 deletions
|
|
@ -293,7 +293,7 @@ export class Graph extends Model {
|
|||
if (this.type === "local") {
|
||||
setPanelFocus(this.element.parentElement.parentElement);
|
||||
} else {
|
||||
setPanelFocus(this.element.firstElementChild);
|
||||
setPanelFocus(this.element);
|
||||
}
|
||||
let target = event.target as HTMLElement;
|
||||
while (target && !target.isEqualNode(this.element)) {
|
||||
|
|
@ -364,7 +364,7 @@ export class Graph extends Model {
|
|||
});
|
||||
this.searchGraph(options.type !== "global");
|
||||
if (this.type !== "local") {
|
||||
setPanelFocus(this.element.firstElementChild);
|
||||
setPanelFocus(this.element);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue