fix StretchingRectangleElement rendering right bar wrong

This commit is contained in:
DBotThePony 2022-09-05 00:24:03 +07:00
parent 2e7e676739
commit ceda2846c5
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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)