mirror of
https://github.com/FabricMC/fabric.git
synced 2025-09-06 19:36:26 +00:00
23w46a
This commit is contained in:
@@ -25,8 +25,8 @@ import net.minecraft.util.Formatting;
|
||||
import net.minecraft.util.Identifier;
|
||||
|
||||
final class ChannelList extends EntryListWidget<ChannelList.Entry> {
|
||||
ChannelList(MinecraftClient client, int width, int height, int top, int bottom, int itemHeight) {
|
||||
super(client, width, height, top, bottom, itemHeight);
|
||||
ChannelList(MinecraftClient client, int width, int height, int top, int itemHeight) {
|
||||
super(client, width, height, top, itemHeight);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -39,7 +39,7 @@ final class ChannelList extends EntryListWidget<ChannelList.Entry> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void appendNarrations(NarrationMessageBuilder arg) {
|
||||
public void appendClickableNarrations(NarrationMessageBuilder arg) {
|
||||
// TODO seems to be possibly accessibility related
|
||||
}
|
||||
|
||||
|
@@ -54,7 +54,7 @@ final class ChannelScreen extends Screen {
|
||||
.position(this.width / 2 - 60, this.height - 25)
|
||||
.size(120, 20)
|
||||
.build());
|
||||
this.channelList = this.addDrawable(new ChannelList(this.client, this.width, this.height - 60, 30, this.height - 30, this.textRenderer.fontHeight + 2));
|
||||
this.channelList = this.addDrawable(new ChannelList(this.client, this.width, this.height - 60, 30, this.textRenderer.fontHeight + 2));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user