Forgot to increase width and height in "BackgroundPanel#block"
This commit is contained in:
parent
4a711783f5
commit
3ad085c1ae
@ -52,7 +52,7 @@ open class BackgroundPanel<out S : Screen>(
|
|||||||
y: Float = 0f,
|
y: Float = 0f,
|
||||||
width: Float = 10f,
|
width: Float = 10f,
|
||||||
height: 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
|
it.dockPadding = BLOCK
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user