mirror of
https://github.com/hexedtech/codemp-vscode.git
synced 2024-12-23 05:54:51 +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();
|
||||
}
|
||||
let editor = mapping.bufferMapper.visible_by_buffer(event.buffer);
|
||||
mapp.update(event,editor);
|
||||
/*if(event.buffer!=mapp.buffer)*/ provider.refresh();
|
||||
let refresh = event.buffer != mapp.buffer;
|
||||
mapp.update(event, editor);
|
||||
if (refresh) provider.refresh();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue