浏览代码

fix banner issue

/main
xingweizhu 4 年前
当前提交
f91330cf
共有 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 ");
}

正在加载...
取消
保存