fixed rendering order for (most) screens & widgets

This commit is contained in:
maloryware
2025-08-04 05:17:21 +01:00
parent 9fe2ab78c6
commit 206ea38105
8 changed files with 61 additions and 57 deletions

View File

@@ -28,7 +28,7 @@ public class MidnightLibExtras {
KeybindButton editButton = new KeybindButton(screen.width - 185, 0, 150, 20, binding);
IconButtonWidget resetButton = IconButtonWidget.builder(
Text.translatable("controls.reset"),
Identifier.of("midnightlib", "icon/reset"),
Identifier.of("midnightlib", "icon/reset.png"),
(button -> {
binding.setBoundKey(binding.getDefaultKey());
screen.updateList();