mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-08 06:26:43 +01:00
Fixed slots rendering in front of tooltips
This commit is contained in:
parent
536172791e
commit
cbc8c6a6de
1 changed files with 1 additions and 2 deletions
|
@ -71,7 +71,7 @@ public class SpellbookScreen extends HandledScreen<SpellbookScreenHandler> {
|
|||
drawTexture(matrices, right, i, 425, 67, tileSize, tileSize, 512, 256);
|
||||
}
|
||||
matrices.pop();
|
||||
|
||||
drawSlots(matrices, mouseX, mouseY, partialTicks);
|
||||
super.drawOverlays(matrices, mouseX, mouseY, partialTicks);
|
||||
}
|
||||
};
|
||||
|
@ -90,7 +90,6 @@ public class SpellbookScreen extends HandledScreen<SpellbookScreenHandler> {
|
|||
addDrawableChild(new PageButton(x + 350, y + 187, 1));
|
||||
addDrawableChild(new PageButton(x + 300, y + 187, -1));
|
||||
container.init(this::initPageContent);
|
||||
addDrawable(this::drawSlots);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue