mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-13 04:09:27 +00:00
Disabled the badge decoration in the Explorer.
Ref: eclipse-theia/theia#8709 Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import { injectable } from 'inversify';
|
||||
import { WidgetDecoration } from '@theia/core/lib/browser/widget-decoration';
|
||||
import { NavigatorTabBarDecorator as TheiaNavigatorTabBarDecorator } from '@theia/navigator/lib/browser/navigator-tab-bar-decorator';
|
||||
|
||||
/**
|
||||
* To silent the badge decoration in the `Explorer`.
|
||||
* https://github.com/eclipse-theia/theia/issues/8709
|
||||
*/
|
||||
@injectable()
|
||||
export class NavigatorTabBarDecorator extends TheiaNavigatorTabBarDecorator {
|
||||
|
||||
onStart(): void {
|
||||
// NOOP
|
||||
}
|
||||
|
||||
decorate(): WidgetDecoration.Data[] {
|
||||
// Does not decorate anything.
|
||||
return [];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user