Skip to content

Commit

Permalink
fix marker creation text field
Browse files Browse the repository at this point in the history
cheers tony
  • Loading branch information
kallmetony authored and sisby-folk committed Jan 14, 2024
1 parent 0d11e97 commit 885eaf7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ public void init() {
}).dimensions(this.width / 2 + BUTTON_SPACING / 2, this.height / 2 + 40, BUTTON_WIDTH, 20).build());
textField = new TextFieldWidget(MinecraftClient.getInstance().textRenderer, (this.width - 200) / 2, this.height / 2 - 81, 200, 20, Text.translatable("gui.antiqueatlas.marker.label"));
textField.setEditable(true);
textField.setText("");
textField.setFocusUnlocked(true);
textField.setFocused(true);

scroller = new GuiScrollingContainer();
scroller.setWheelScrollsHorizontally();
Expand Down

0 comments on commit 885eaf7

Please sign in to comment.