From 3ad085c1ae976ce78f1505df9104df11157d481a Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Mon, 24 Feb 2025 22:41:41 +0700 Subject: [PATCH] Forgot to increase width and height in "BackgroundPanel#block" --- .../mc/otm/client/screen/panels/util/BackgroundPanel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/util/BackgroundPanel.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/util/BackgroundPanel.kt index 89961c65a..c0e412d64 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/util/BackgroundPanel.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/util/BackgroundPanel.kt @@ -52,7 +52,7 @@ open class BackgroundPanel( y: Float = 0f, width: Float = 10f, height: Float = 10f, - ) = BackgroundPanel(screen, parent, x, y, width + 6f, height + 6f).also { + ) = BackgroundPanel(screen, parent, x, y, width + 10f, height + 10f).also { it.dockPadding = BLOCK }