Use icon font in favor of def
This commit is contained in:
committed by
GitHub
parent
637cca2e66
commit
a6d1ac0b86
@@ -343,9 +343,9 @@ public class NetClient implements ApplicationListener{
|
||||
|
||||
@Remote(variants = Variant.both)
|
||||
public static void warningToast(int unicode, String text){
|
||||
if(text == null || Fonts.def.getData().getGlyph((char)unicode) == null) return;
|
||||
if(text == null || Fonts.icon.getData().getGlyph((char)unicode) == null) return;
|
||||
|
||||
ui.hudfrag.showToast(Fonts.getGlyph(Fonts.def, (char)unicode), text);
|
||||
ui.hudfrag.showToast(Fonts.getGlyph(Fonts.icon, (char)unicode), text);
|
||||
}
|
||||
|
||||
@Remote(variants = Variant.both)
|
||||
|
||||
Reference in New Issue
Block a user