small todo
This commit is contained in:
parent
8d7c7d2d97
commit
bfe426f11e
@ -47,6 +47,7 @@ public class Constraints {
|
||||
List<IGuiBox> children = owner.children();
|
||||
for(int i = 0,m=children.size();i<m;i++) {
|
||||
IGuiBox child = children.get(i);
|
||||
//TODO Fix this. Shouldn't this be width + offset instead of offset + width?
|
||||
value = Math.max(value, child.getBaseX() + (includeChildOffsets() ? child.getBaseWidth() : 0));
|
||||
}
|
||||
target.set(owner, value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user