浏览代码

fix fisrt time input shake

/add_hero_sample
guanghuispark 3 年前
当前提交
a9cfd4f6
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 5
      AwesomeUIWidgets/Assets/Scripts/Widgets/chat_list.cs

5
AwesomeUIWidgets/Assets/Scripts/Widgets/chat_list.cs


if (item is Dictionary<string, object> )
{
var message1 = ((Dictionary<string, object>)item)["message"] as ChatComponents.Message;
int test = widget.items.IndexOf(item);
if (_oldIndex != null && !_oldIndex.Contains(message1.id))
if (_oldIndex != null && _oldIndex.Count != 0 && !_oldIndex.Contains(message1.id))
}
}
}

正在加载...
取消
保存