Focus replay name edit box in save replay screen by default

This commit is contained in:
Moulberry committed 2025-02-11 16:47:38 +08:00
1 parent 3f662b0aa3
commit d8109f495f
1 file changed
+2
@@ -102,6 +102,8 @@ public class SaveReplayScreen extends Screen {
gridLayout.arrangeElements();
FrameLayout.alignInRectangle(gridLayout, 0, 0, this.width, this.height, 0.5f, 0.5f);
gridLayout.visitWidgets(this::addRenderableWidget);
this.setFocused(replayNameEditBox);
}
@Override