mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
[...x] -> x.slice(0)
This commit is contained in:
parent
137ea7552b
commit
c893442a6a
|
@ -160,7 +160,7 @@ export class CursorCollection {
|
|||
if (this.cursors.length === 1) {
|
||||
return;
|
||||
}
|
||||
let cursors = [...this.cursors];
|
||||
let cursors = this.cursors.slice(0);
|
||||
|
||||
interface SortedCursor {
|
||||
index: number;
|
||||
|
|
Loading…
Reference in a new issue