浏览代码

Fix wrap bug.

/main
Yuncong Zhang 6 年前
当前提交
0127f69a
共有 2 个文件被更改,包括 5 次插入2 次删除
  1. 4
      Runtime/rendering/wrap.cs
  2. 3
      Runtime/rendering/wrap.cs.meta

4
Runtime/rendering/wrap.cs


crossAxisExtent += runSpacing;
}
runMetrics.Append(new _RunMetrics(runMainAxisExtent, runCrossAxisExtent, childCount));
runMetrics.Add(new _RunMetrics(runMainAxisExtent, runCrossAxisExtent, childCount));
runMainAxisExtent = 0.0f;
runCrossAxisExtent = 0.0f;
childCount = 0;

crossAxisExtent += runSpacing;
}
runMetrics.Append(new _RunMetrics(runMainAxisExtent, runCrossAxisExtent, childCount));
runMetrics.Add(new _RunMetrics(runMainAxisExtent, runCrossAxisExtent, childCount));
}
int runCount = runMetrics.Count;

3
Runtime/rendering/wrap.cs.meta


fileFormatVersion: 2
guid: bf63171d5e9d4f9fb93cf8cf7a0534bb
timeCreated: 1552011675
正在加载...
取消
保存