diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/FramePanel.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/FramePanel.kt index 67af68bcb..c592df638 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/FramePanel.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/FramePanel.kt @@ -253,10 +253,10 @@ open class FramePanel( bottom_window_border.renderRaw(stack, 4f, height - 3, width - 8, 3f) // corners - top_left_window_corner.renderRaw(stack, 0f, 0f, 6f, 6f) - top_right_window_corner.renderRaw(stack, width - 6, 0f, 6f, 6f) - bottom_left_window_corner.renderRaw(stack, 0f, height - 6, 6f, 6f) - bottom_right_window_corner.renderRaw(stack, width - 6, height - 6, 6f, 6f) + top_left_window_corner.renderRaw(stack) + top_right_window_corner.renderRaw(stack, x = width - 6) + bottom_left_window_corner.renderRaw(stack, y = height - 6) + bottom_right_window_corner.renderRaw(stack, x = width - 6, y = height - 6) // RenderSystem.enableDepthTest();