Skip to content

Commit 82ee57e

Browse files
committed
Properly fix Custom Progress bar texture sizing
1 parent ddb148d commit 82ee57e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/me/hypherionmc/simplesplashscreen/mixins/ResourceLoadProgressGuiMixin.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,10 @@ private void func_238629_a_(MatrixStack matrixStack, int x1, int y1, int x2, int
216216
int customWidth = CustomSplashScreen.CS_CONFIG.customProgressBarMode == CustomSplashScreenConfig.ProgressBarMode.Linear ? x2 - x1 : i;
217217
if (CS_CONFIG.customProgressBarBackground) {
218218
this.mc.getTextureManager().bindTexture(CUSTOM_PROGRESS_BAR_BACKGROUND_TEXTURE);
219-
blit(matrixStack, x1, y1, 0, 0, 6, x2 - x1, y2 - y1, 10, customWidth);
219+
blit(matrixStack, x1, y1, 0, 0, 0, x2 - x1, y2 - y1, 10, x2 - x1);
220220
}
221221
this.mc.getTextureManager().bindTexture(CUSTOM_PROGRESS_BAR_TEXTURE);
222-
blit(matrixStack, x1, y1, 0, 0, 6, i, y2 - y1, 10, customWidth);
222+
blit(matrixStack, x1, y1, 0, 0, 0, i, y2 - y1, 10, customWidth);
223223
}
224224

225225
// Vanilla / With Color progress bar

0 commit comments

Comments
 (0)