浏览代码

Merge pull request #87 from fzhangtj/master

fix assertion issue
/main
GitHub 6 年前
当前提交
c1c79cdd
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      Runtime/material/input_decorator.cs

3
Runtime/material/input_decorator.cs


protected override void removeChildRenderObject(RenderObject child) {
D.assert(child is RenderBox);
D.assert(this.renderObject.childToSlot.ContainsKey((RenderBox) child));
var slot = this.renderObject.childToSlot[(RenderBox) child];
D.assert(!this.renderObject.slotToChild.ContainsKey((_DecorationSlot) this.slot));
D.assert(!this.renderObject.slotToChild.ContainsKey(slot));
}
protected override void moveChildRenderObject(RenderObject child, object slotValue) {

正在加载...
取消
保存