setting change
This commit is contained in:
@@ -137,7 +137,14 @@ namespace NBC
|
||||
|
||||
if (curField == null) return;
|
||||
var textFormat = curField.textFormat;
|
||||
var font = Lan.GetLanFontByCurFont(textFormat.font);
|
||||
Log.Info($"font={textFormat.font}");
|
||||
var fontName = textFormat.font;
|
||||
if (string.IsNullOrEmpty(fontName))
|
||||
{
|
||||
fontName = UIConfig.defaultFont;
|
||||
}
|
||||
|
||||
var font = Lan.GetLanFontByCurFont(fontName);
|
||||
if (font == null) return;
|
||||
textFormat.font = font;
|
||||
curField.textFormat = textFormat;
|
||||
|
||||
Reference in New Issue
Block a user