mirror of
https://github.com/hexedtech/codemp-vscode.git
synced 2024-11-22 15:34:49 +01:00
fix: dont update tree on every cursor update
WTF!!!!!!!!!
This commit is contained in:
parent
a37f91049b
commit
5ed0341ccc
1 changed files with 3 additions and 2 deletions
|
@ -73,8 +73,9 @@ export async function join(selected: vscode.TreeItem | undefined) {
|
||||||
provider.refresh();
|
provider.refresh();
|
||||||
}
|
}
|
||||||
let editor = mapping.bufferMapper.visible_by_buffer(event.buffer);
|
let editor = mapping.bufferMapper.visible_by_buffer(event.buffer);
|
||||||
|
let refresh = event.buffer != mapp.buffer;
|
||||||
mapp.update(event, editor);
|
mapp.update(event, editor);
|
||||||
/*if(event.buffer!=mapp.buffer)*/ provider.refresh();
|
if (refresh) provider.refresh();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue