use ybase + y when clearing markers

This commit is contained in:
meganrogge
2022-02-24 12:02:11 -06:00
parent d2e34277e8
commit 34ec80a322
2 changed files with 2 additions and 2 deletions
+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 {