Fix messed up formatting

This commit is contained in:
Raoul Van den Berge
2016-07-30 01:31:05 +02:00
parent deb9d6237b
commit 7e7320748b

View File

@@ -173,33 +173,8 @@ public class GuiGrid extends GuiBase {
} }
} }
getScrollbar() getScrollbar().setCanScroll(getRows() > getVisibleRows());
getScrollbar().setScrollDelta((float) getScrollbar().getScrollbarHeight() / (float) getRows());
.
setCanScroll(getRows()
>
getVisibleRows()
);
getScrollbar()
.
setScrollDelta((float) getScrollbar
().
getScrollbarHeight()
/ (float)
getRows()
);
} }
private int getOffset() { private int getOffset() {