Skip to content

Commit

Permalink
Fix page number being shown with only a single page
Browse files Browse the repository at this point in the history
  • Loading branch information
kavinphan committed Aug 6, 2020
1 parent 8ec8cc4 commit 29f4386
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private void drawButtons(MatrixStack matrices, double mouseX, double mouseY) {
}

private void drawPageText(MatrixStack matrices) {
if (pageTextRefreshTime > 0) {
if (tabManager.getMaxPages() > 1 && pageTextRefreshTime > 0) {
RenderSystem.pushMatrix();

int color = 0xFFFFFFFF;
Expand Down

0 comments on commit 29f4386

Please sign in to comment.