浏览代码

minor fix

/main
Xingwei Zhu 3 年前
当前提交
f5fe1e11
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.uiwidgets/Runtime/widgets/widget_span.cs

2
com.unity.uiwidgets/Runtime/widgets/widget_span.cs


public override RenderComparison compareTo(InlineSpan other) {
if (this == other)
return RenderComparison.identical;
if (style.GetType() != GetType())
if (other.GetType() != GetType())
return RenderComparison.layout;
if ((style == null) != (other.style == null))
return RenderComparison.layout;

正在加载...
取消
保存