mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
notifications - better status bar alignment
This commit is contained in:
@@ -33,7 +33,7 @@ class ExcludeHintItem {
|
||||
constructor(
|
||||
private readonly telemetryReporter: TelemetryReporter
|
||||
) {
|
||||
this._item = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Right, Number.MIN_VALUE);
|
||||
this._item = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Right, 98 /* to the right of typescript version status (99) */);
|
||||
this._item.command = 'js.projectStatus.command';
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ export default class VersionStatus {
|
||||
constructor(
|
||||
private readonly normalizePath: (resource: vscode.Uri) => string | null
|
||||
) {
|
||||
this.versionBarEntry = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Right, Number.MIN_VALUE);
|
||||
this.versionBarEntry = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Right, 99 /* to the right of editor status (100) */);
|
||||
this.onChangeEditorSub = vscode.window.onDidChangeActiveTextEditor(this.showHideStatus, this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user