mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-15 10:45:35 +01:00
changed Protocol selection footer
This commit is contained in:
parent
34572e0896
commit
e854710eee
BIN
.github/images/protocol.png
vendored
BIN
.github/images/protocol.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 369 KiB After Width: | Height: | Size: 368 KiB |
@ -64,7 +64,7 @@ public class ProtocolSelectionScreen extends Screen {
|
||||
protected void init() {
|
||||
super.init();
|
||||
|
||||
this.addDrawableChild(new SlotList(this.client, width, height, 3 + 3 /* start offset */ + (textRenderer.fontHeight + 2) * 3 /* title is 2 */, height - 25, textRenderer.fontHeight + 4));
|
||||
this.addDrawableChild(new SlotList(this.client, width, height, 3 + 3 /* start offset */ + (textRenderer.fontHeight + 2) * 3 /* title is 2 */, height + 5, textRenderer.fontHeight + 4));
|
||||
this.addDrawableChild(ButtonWidget.builder(Text.literal("<-"), button -> this.close()).position(0, 0).size(20, 20).build());
|
||||
|
||||
this.addDrawableChild(ButtonWidget.builder(Text.literal("Settings"), button -> client.setScreen(SettingsScreen.get(this))).position(width - 98, 0).size(98, 20).build());
|
||||
|
Loading…
Reference in New Issue
Block a user