fixed element map
This commit is contained in:
parent
33c9e3ab6c
commit
1aa93574c8
@ -160,7 +160,7 @@ class ReactiveUI {
|
||||
});
|
||||
|
||||
canvas.combine(childRender, writePoint);
|
||||
elementMap.set(new Rect(writePoint,{x: childRender.maxWidth(), y: writePoint.y + childRender.hight()}),child);
|
||||
elementMap.set(new Rect(writePoint,{x: childRender.maxWidth() + writePoint.x, y: writePoint.y + (childRender.hight() - 1)}),child);
|
||||
|
||||
writePoint = {x: 0, y: writePoint.y + childRender.hight()};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user