Replace "unavailable" ionicon with a fixed size (#6291)

This commit is contained in:
Alex authored and GitHub committed 2022-03-07 21:52:57 +00:00
1 parent 74b15d47ff
commit e1e4864d20
1 file changed
+1 -1
@@ -54,7 +54,7 @@ public class IconSet {
private Map<String, Icon> iconsByClassSpec = new ConcurrentHashMap<>();
private Map<String, Icon> coreIcons = new ConcurrentHashMap<>();
private static final String PLACEHOLDER_SVG = "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ionicon\" viewBox=\"0 0 512 512\"><title>Ellipse</title><circle cx=\"256\" cy=\"256\" r=\"192\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"32\"/></svg>";
private static final String PLACEHOLDER_SVG = "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ionicon\" height=\"48\" viewBox=\"0 0 512 512\"><title>Close</title><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"32\" d=\"M368 368L144 144M368 144L144 368\"/></svg>";
private static final Icon NO_ICON = new Icon("_", "_", "_");
public IconSet() {