diff --git a/packages/core/src/browser/status-bar/status-bar.tsx b/packages/core/src/browser/status-bar/status-bar.tsx index b6072febc8da7..aa3453849dd27 100644 --- a/packages/core/src/browser/status-bar/status-bar.tsx +++ b/packages/core/src/browser/status-bar/status-bar.tsx @@ -130,6 +130,7 @@ export class StatusBarImpl extends ReactWidget implements StatusBar { const rp = right.priority || 0; return rp - lp; }); + elements.push(elements.splice(elements.findIndex(el => el.command === 'core.toggle.bottom.panel'), 1)[0]); elements.forEach(entry => { if (entry.alignment === StatusBarAlignment.LEFT) { leftEntries.push(this.renderElement(entry)); diff --git a/packages/plugin-ext/src/plugin/status-bar/status-bar-item.ts b/packages/plugin-ext/src/plugin/status-bar/status-bar-item.ts index ae09dca0ba24d..2abc47ac654dc 100644 --- a/packages/plugin-ext/src/plugin/status-bar/status-bar-item.ts +++ b/packages/plugin-ext/src/plugin/status-bar/status-bar-item.ts @@ -41,9 +41,6 @@ export class StatusBarItemImpl implements theia.StatusBarItem { priority: number = 0) { this._proxy = _proxy; this._alignment = alignment; - if (alignment === StatusBarAlignment.Right && priority <= 0) { - priority = 0.1; - } this._priority = priority; }