re-add i-- so that markers on the same line get disposed of

This commit is contained in:
meganrogge
2022-02-24 12:07:54 -06:00
parent 34ec80a322
commit ef0312473e
+1 -1
View File
@@ -591,7 +591,7 @@ export class Buffer implements IBuffer {
for (let i = 0; i < this.markers.length; i++) {
if (this.markers[i].line === y) {
this.markers[i].dispose();
this.markers.splice(i, 1);
this.markers.splice(i--, 1);
}
}
} else {