Make sure font image exists

This commit is contained in:
luboslenco
2021-01-15 13:16:23 +01:00
parent ad77fca7c6
commit 11fc55e92d
+1 -1
View File
@@ -126,7 +126,7 @@ class UIView2D {
}
else { // View2DFont
tex = Context.font.image;
tw = tex.width;
tw = tex != null ? tex.width : 0;
}
var th = tw;