浏览代码

Merge branch 'text_edit' into 'master'

fix

See merge request upm-packages/ui-widgets/com.unity.uiwidgets!169
/main
Shenhua Gu 6 年前
当前提交
d49cf372
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 1
      Runtime/ui/painting/txt/font_manager.cs

1
Runtime/ui/painting/txt/font_manager.cs


font.hideFlags = HideFlags.DontSave & ~HideFlags.DontSaveInBuild;
FontInfo current;
var name = font.name;
this._fonts.TryGetValue(fontRef, out current);
D.assert(current == null || current.font == font, $"font with key {fontRef} already exists");
var fontInfo = new FontInfo(font);

正在加载...
取消
保存