mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Reference codiconsLibrary
This commit is contained in:
parent
22d8353b96
commit
d84506ea73
|
@ -5,6 +5,7 @@
|
|||
|
||||
import { Dimension, getActiveDocument } from 'vs/base/browser/dom';
|
||||
import { HoverPosition } from 'vs/base/browser/ui/hover/hoverWidget';
|
||||
import { codiconsLibrary } from 'vs/base/common/codiconsLibrary';
|
||||
import { Lazy } from 'vs/base/common/lazy';
|
||||
import { Disposable } from 'vs/base/common/lifecycle';
|
||||
import type { ThemeIcon } from 'vs/base/common/themables';
|
||||
|
@ -18,7 +19,7 @@ const icons = new Lazy<IconContribution[]>(() => {
|
|||
const iconDefinitions = getIconRegistry().getIcons();
|
||||
const includedChars = new Set<string>();
|
||||
const dedupedIcons = iconDefinitions.filter(e => {
|
||||
if (e.id === 'blank') {
|
||||
if (e.id === codiconsLibrary.blank.id) {
|
||||
return false;
|
||||
}
|
||||
if (!('fontCharacter' in e.defaults)) {
|
||||
|
|
Loading…
Reference in a new issue