Skip to content

Commit

Permalink
Update quick pick dirty icon (refs #86708)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Solorio committed Jan 2, 2020
1 parent b8667fa commit af59519
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/editor/editorPicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class EditorPickerEntry extends QuickOpenEntryGroup {
}

getIcon(): string {
return this.editor.isDirty() ? 'dirty' : '';
return this.editor.isDirty() ? 'codicon codicon-circle-filled' : '';
}

get group(): IEditorGroup {
Expand Down
3 changes: 0 additions & 3 deletions src/vs/workbench/browser/parts/quickopen/media/dirty-dark.svg

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions src/vs/workbench/browser/parts/quickopen/media/quickopen.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,3 @@
width: 14px;
height: 18px;
}

.vs .monaco-workbench .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.dirty {
background-image: url('dirty-light.svg');
}

.hc-black .monaco-workbench .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.dirty,
.vs-dark .monaco-workbench .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.dirty {
background-image: url('dirty-dark.svg');
}
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ export class EditorHistoryEntry extends EditorQuickOpenEntry {
}

getIcon(): string {
return this.dirty ? 'dirty' : '';
return this.dirty ? 'codicon codicon-circle-filled' : '';
}

getLabel(): string {
Expand Down

0 comments on commit af59519

Please sign in to comment.