⚡ perf(vscode): 预览切走标签页时页面留着,切回来不再重新生成、重发文档和整份重画
This commit is contained in:
1 parent
53283808a0
commit
5426c50cd9
8 files changed
+118
-59
No files matched your search
@@ -7,7 +7,7 @@ export const OCCURRENCES_CONTEXT = 'superpowers.codeReader.hasOccurrences'
|
||||
|
||||
/**
|
||||
* 上下文键跟着各预览报来的状态走:有一个预览能跳就是真(同一时刻只有一个页面有焦点),变了才设。
|
||||
* 预览关掉、页面被销毁(标签页切走)时当它不能跳。
|
||||
* 预览关掉时当它不能跳;标签页切走时页面失了焦点,自己会报不能跳。
|
||||
*/
|
||||
export class NavigationContext<Owner> {
|
||||
private readonly available = new Set<Owner>()
|
||||
|
||||
Reference in new issue
Block a user