mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-15 18:30:27 -04:00
Fixed manual GUI init order.
This commit is contained in:
parent
6f621f53d8
commit
0281d035d8
@ -90,10 +90,11 @@ class Manual extends GuiScreen {
|
|||||||
guiTop = midY - guiSize.getScaledHeight / 2
|
guiTop = midY - guiSize.getScaledHeight / 2
|
||||||
xSize = guiSize.getScaledWidth
|
xSize = guiSize.getScaledWidth
|
||||||
ySize = guiSize.getScaledHeight
|
ySize = guiSize.getScaledHeight
|
||||||
refreshPage()
|
|
||||||
|
|
||||||
scrollButton = new ImageButton(1, guiLeft + scrollPosX, guiTop + scrollPosY, 6, 13, Textures.guiButtonScroll)
|
scrollButton = new ImageButton(1, guiLeft + scrollPosX, guiTop + scrollPosY, 6, 13, Textures.guiButtonScroll)
|
||||||
add(buttonList, scrollButton)
|
add(buttonList, scrollButton)
|
||||||
|
|
||||||
|
refreshPage()
|
||||||
}
|
}
|
||||||
|
|
||||||
override def drawScreen(mouseX: Int, mouseY: Int, dt: Float): Unit = {
|
override def drawScreen(mouseX: Int, mouseY: Int, dt: Float): Unit = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user