fix: thin cursor borders

This commit is contained in:
əlemi 2024-09-07 01:45:47 +02:00
parent 0983019175
commit ace46fe997
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -44,12 +44,9 @@ export class UserDecoration {
this.decoration.dispose();
}
this.decoration = vscode.window.createTextEditorDecorationType({
borderWidth: '5px',
borderWidth: '1px',
borderStyle: 'solid',
overviewRulerColor: 'blue',
overviewRulerLane: vscode.OverviewRulerLane.Right,
light: { borderColor: this.color },
dark: { borderColor: this.color },
borderColor: this.color,
});
const range_start: vscode.Position = new vscode.Position(event.startRow, event.startCol); // -1?
const range_end: vscode.Position = new vscode.Position(event.endRow, event.endCol); // -1? idk if this works it's kinda funny, should test with someone with a working version of codemp