Forgot to increase width and height in "BackgroundPanel#block"

This commit is contained in:
DBotThePony 2025-02-24 22:41:41 +07:00
parent 4a711783f5
commit 3ad085c1ae
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -52,7 +52,7 @@ open class BackgroundPanel<out S : Screen>(
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
}