Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public class VanillaTextRenderer implements TextRenderer {
public static final VanillaTextRenderer INSTANCE = new VanillaTextRenderer();

public double scale = 2;
//todo remove in 26.3 update
public boolean scaleIndividually;

private GuiGraphicsExtractor graphics;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public double text(String text, double x, double y, Color color, boolean shadow,
if (scale == -1) scale = hud.getTextScale();

if (!hud.hasCustomFont()) {
VanillaTextRenderer.INSTANCE.scale = scale * 2;
return VanillaTextRenderer.INSTANCE.render(text, x, y, color, shadow);
}

Expand Down
Loading