浏览代码

bug fixes

/siyaoH-1.17-PlatformMessage
xingweizhu 4 年前
当前提交
3823e094
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 10
      com.unity.uiwidgets/Runtime/foundation/diagnostics.cs

10
com.unity.uiwidgets/Runtime/foundation/diagnostics.cs


int currentChunk = 0;
bool noWrap(int index) {
bool noWrap(int index2) {
if (index < wrapRanges[currentChunk + 1]) {
if (index2 < wrapRanges[currentChunk + 1]) {
break;
}

return index < wrapRanges[currentChunk];
return index2 < wrapRanges[currentChunk];
}
while (true) {

const int maxLines = 25;
int lines = 0;
void visitor(DiagnosticsNode node) {
foreach (DiagnosticsNode child in node.getChildren()) {
void visitor(DiagnosticsNode node2) {
foreach (DiagnosticsNode child in node2.getChildren()) {
if (lines < maxLines) {
depth += 1;
descendants.Add($"{prefixOtherLines}{new string(' ', depth)}{child}");

正在加载...
取消
保存