浏览代码

Merge pull request #158 from Unity-Technologies/fix_banner_issue

fix banner issue
/main
GitHub 4 年前
当前提交
1bffc345
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 6
      com.unity.uiwidgets/Runtime/widgets/banner.cs

6
com.unity.uiwidgets/Runtime/widgets/banner.cs


public override void debugFillProperties(DiagnosticPropertiesBuilder properties) {
base.debugFillProperties(properties);
properties.add(new StringProperty("message", message, showName: false));
properties.add(new EnumProperty<TextDirection>("textDirection", (TextDirection)textDirection, defaultValue: null));
properties.add(new EnumProperty<BannerLocation>("location", (BannerLocation)location));
properties.add(new EnumProperty<TextDirection>("layoutDirection", (TextDirection)layoutDirection, defaultValue: null));
properties.add(new EnumProperty<TextDirection?>("textDirection", textDirection, defaultValue: null));
properties.add(new EnumProperty<BannerLocation?>("location", location));
properties.add(new EnumProperty<TextDirection?>("layoutDirection", layoutDirection, defaultValue: null));
properties.add(new ColorProperty("color", color, showName: false));
textStyle?.debugFillProperties(properties, prefix: "text ");
}

正在加载...
取消
保存