浏览代码

Merge pull request #243 from Unity-Technologies/fix_sliver_bug

fix sliver bug
/main
GitHub 3 年前
当前提交
426ea19c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.uiwidgets/Runtime/widgets/sliver.cs

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


int index = _keyToIndex.getOrDefault(_defaultNullKey);
while (index < children.Count) {
Widget child = children[index];
if (child.key != _defaultNullKey) {
if (child.key != null && child.key != _defaultNullKey) {
_keyToIndex[child.key] = index;
}
if (child.key == key) {

正在加载...
取消
保存