Skip to content

Commit

Permalink
fix: change extension window.state default true (#2951)
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiiiiii authored Jul 26, 2023
1 parent 3e063a2 commit acd571b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export class WindowStateImpl implements types.WindowState {
public focused: boolean;

constructor() {
this.focused = false;
// 当插件进程重启时,这里如果默认是 false,会与实际状态不一致,导致依赖该状态的插件处理有问题
this.focused = true;
}
}

0 comments on commit acd571b

Please sign in to comment.