Small fix to close button positioning

This commit is contained in:
2025-12-01 19:41:12 +01:00
parent 8bfca217aa
commit 429bac1903
2 changed files with 2 additions and 2 deletions
@@ -256,7 +256,7 @@ public class SkilltreeScreen extends Screen {
addRenderableWidget(Button.builder(Component.literal("Close"), btn -> {
selectedNode = null;
clearWidgets();
}).pos(x + w - 60, y + 10).size(50, 20).build());
}).pos(x + w - 60, y - 5).size(50, 20).build());
}
private void drawLine(GuiGraphics gfx, int x1, int y1, int x2, int y2, int color) {