mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
Remove some todo's
This commit is contained in:
parent
73be71afe5
commit
cef510c8d7
4 changed files with 4 additions and 4 deletions
|
@ -88,7 +88,7 @@ public class FilterSettingsGui {
|
|||
}
|
||||
//TODO tooltips still jank
|
||||
if (!list.isEmpty()) {
|
||||
guiGraphics.renderComponentTooltip(mc.font, list, mouseX, mouseY); //TODO: Check if this is correct, used to call GuiUtils.drawHoveringText
|
||||
guiGraphics.renderComponentTooltip(mc.font, list, mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ public class GuiLaserRelayItemWhitelist extends AAScreen<ContainerLaserRelayItem
|
|||
// List<String> list = new ArrayList<>();
|
||||
// list.add(TextFormatting.BOLD + StringUtil.localize("info." + ActuallyAdditions.MODID + ".gui.smart"));
|
||||
// list.addAll(this.font.listFormattedStringToWidth(StringUtil.localize("info." + ActuallyAdditions.MODID + ".gui.smartInfo"), 200));
|
||||
// this.drawHoveringText(list, x, y);
|
||||
// this.drawHoveringText(list, x, y); //renderComponentTooltip
|
||||
// }
|
||||
|
||||
this.leftFilter.drawHover(guiGraphics, x, y);
|
||||
|
|
|
@ -64,7 +64,7 @@ public class GuiPhantomPlacer extends AAScreen<ContainerPhantomPlacer> {
|
|||
// List<String> textList = new ArrayList<>();
|
||||
// textList.add(TextFormatting.GOLD + StringUtil.localize(loc + ".1"));
|
||||
// textList.addAll(this.font.listFormattedStringToWidth(StringUtil.localize(loc + ".2"), 200));
|
||||
// this.drawHoveringText(textList, mouseX, mouseY);
|
||||
// this.drawHoveringText(textList, mouseX, mouseY); //renderComponentTooltip
|
||||
// }
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ public class TexturedButton extends Button {
|
|||
public void drawHover(GuiGraphics guiGraphics, int x, int y) {
|
||||
if (this.isMouseOver(x, y)) {
|
||||
Minecraft mc = Minecraft.getInstance();
|
||||
guiGraphics.renderComponentTooltip(mc.font, this.textList.stream().map(Component::literal).collect(Collectors.toList()), x, y); //TODO: Check if this is correct, used to call GuiUtils.drawHoveringText
|
||||
guiGraphics.renderComponentTooltip(mc.font, this.textList.stream().map(Component::literal).collect(Collectors.toList()), x, y);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue