Skip to content

Commit e2ea114

Browse files
authored
remove overlay (microsoft#194287)
microsoft#194194 remove overlay
1 parent 8c9a072 commit e2ea114

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/vs/workbench/browser/parts/activitybar/activitybarActions.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ import { ILifecycleService, LifecyclePhase } from 'vs/workbench/services/lifecyc
4444
import { runWhenIdle } from 'vs/base/common/async';
4545
import { Lazy } from 'vs/base/common/lazy';
4646
import { DEFAULT_ICON } from 'vs/workbench/services/userDataProfile/common/userDataProfileIcons';
47-
import { ThemeIcon } from 'vs/base/common/themables';
4847

4948
export class ViewContainerActivityAction extends ActivityAction {
5049

@@ -521,11 +520,7 @@ export class GlobalActivityActionViewItem extends MenuActivityActionViewItem {
521520
return;
522521
}
523522

524-
if (this.userDataProfileService.currentProfile.icon && this.userDataProfileService.currentProfile.icon !== DEFAULT_ICON.id) {
525-
this.profileBadgeContent.classList.toggle('profile-icon-overlay', true);
526-
this.profileBadgeContent.classList.toggle('profile-text-overlay', false);
527-
append(this.profileBadgeContent, $(ThemeIcon.asCSSSelector(DEFAULT_ICON)));
528-
} else {
523+
if (!this.userDataProfileService.currentProfile.icon || this.userDataProfileService.currentProfile.icon === DEFAULT_ICON.id) {
529524
this.profileBadgeContent.classList.toggle('profile-text-overlay', true);
530525
this.profileBadgeContent.classList.toggle('profile-icon-overlay', false);
531526
this.profileBadgeContent.textContent = this.userDataProfileService.currentProfile.name.substring(0, 2).toUpperCase();

0 commit comments

Comments
 (0)