Fix another small button positioning issue

This commit is contained in:
2025-12-01 19:50:16 +01:00
parent 429bac1903
commit 9ff5d9f828
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ mod_name=Fretux's Skill Engine
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=All Rights Reserved
# The mod version. See https://semver.org/
mod_version=1.1.3
mod_version=1.1.4
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
@@ -251,7 +251,7 @@ public class SkilltreeScreen extends Screen {
);
selectedNode = null;
clearWidgets();
}).pos(x + w / 2 - 40, y + h - 30).size(80, 20).build());
}).pos(x + w / 2 - 40, y + h - 20).size(80, 20).build());
}
addRenderableWidget(Button.builder(Component.literal("Close"), btn -> {
selectedNode = null;