Skip to content

Commit 731b9fd

Browse files
Make the Forge-like loading screen symmetrical* (#212)
1 parent 2b5cd04 commit 731b9fd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • station-resource-loader-v0/src/main/java/net/modificationstation/stationapi/api/client/resource

station-resource-loader-v0/src/main/java/net/modificationstation/stationapi/api/client/resource/ReloadScreen.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ private void renderProgressBar(ToDoubleFunction<Object> deltaFunc) {
188188
if (isScreenType(LoadingScreenOption.FORGE)) {
189189
if(ReloadScreenManager.LOCATIONS.isEmpty()) return;
190190
String text = ReloadScreenManager.LOCATIONS.get(ReloadScreenManager.LOCATIONS.size() - 1);
191-
fill(3, height, textRenderer.getWidth(text) + 7, height - 14, -1073741824);
191+
fill(2, height - 2, textRenderer.getWidth(text) + 5, height - 13, -1073741824);
192192
glEnable(GL_BLEND);
193-
drawTextWithShadow(textRenderer, text, 5, height - 10, 0xFFFFFF);
193+
drawTextWithShadow(textRenderer, text, 4, height - 11, 0xFFFFFF);
194194
glDisable(GL_BLEND);
195195
return;
196196
}
@@ -309,7 +309,7 @@ private void renderLogo(ToDoubleFunction<Object> deltaFunc) {
309309
color = ColorHelper.Argb.getArgb(0xFF, BACKGROUND_COLOR_DEFAULT_RED, BACKGROUND_COLOR_DEFAULT_GREEN, BACKGROUND_COLOR_DEFAULT_BLUE);
310310
}
311311
// Stapi logo is 6:1 aspect
312-
renderStapiLogo(deltaFunc, width - 50, height - 14, 48, 8, color);
312+
renderStapiLogo(deltaFunc, width - 50, height - 10, 48, 8, color);
313313
}
314314
}
315315

0 commit comments

Comments
 (0)