浏览代码

scroller updates.

/main
kg 6 年前
当前提交
7ce3d959
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      Assets/UIWidgets/widgets/framework.cs

4
Assets/UIWidgets/widgets/framework.cs


base.mount(parent, newSlot);
this._children = Enumerable.Repeat((Element) null, this.widget.children.Count).ToList();
Element previousChild = null;
for (int i = 0; i < this._children.Capacity; i += 1) {
for (int i = 0; i < this._children.Count; i += 1) {
this._children.Add(newChild);
this._children[i] = newChild;
previousChild = newChild;
}
}

正在加载...
取消
保存