fix StretchingRectangleElement rendering right bar wrong
This commit is contained in:
parent
2e7e676739
commit
ceda2846c5
@ -300,7 +300,7 @@ class StretchingRectangleElement(
|
||||
bottom.render(stack, x + bottomLeft.w, y + height - bottom.h, width = width - bottomLeft.w - bottomRight.w)
|
||||
|
||||
left.render(stack, x, y + topLeft.h, height = height - topLeft.h - bottomLeft.h)
|
||||
right.render(stack, x + width - right.h, y + topRight.h, height = height - topRight.h - bottomRight.h)
|
||||
right.render(stack, x + width - right.w, y + topRight.h, height = height - topRight.h - bottomRight.h)
|
||||
|
||||
topLeft.render(stack, x, y)
|
||||
topRight.render(stack, x + width - topRight.w, y)
|
||||
|
Loading…
Reference in New Issue
Block a user