This commit is contained in:
kone 2023-04-13 09:30:47 -04:00
parent eb94cb02e0
commit 2a44c1e83b
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -19,3 +19,5 @@ desktopRuntime/eclipseProject/.project
desktopRuntime/eclipseProject/eaglercraftDebugRuntime.launch
desktopRuntime/eclipseProject/.classpath
.gitpod.yml
javascript/EaglercraftX_1.8_Offline_en_US.html
javascript/EaglercraftX_1.8_Offline_International.html

View File

@ -190,10 +190,10 @@ public class ClickGuiRewrite extends GuiScreen {
RenderUtils.drawRoundedRect((x+width)-72, y+92, (x+width)-37, y+117, 2, secondaryFontColor.getRGB());
}
if (currentView == "gridView") {
mc.getTextureManager().bindTexture(new ResourceLocation("eagler:gui/button_gridView.png"));
mc.getTextureManager().bindTexture(new ResourceLocation("eagler:gui/button_normalView.png"));
}
else {
mc.getTextureManager().bindTexture(new ResourceLocation("eagler:gui/button_normalView.png"));
mc.getTextureManager().bindTexture(new ResourceLocation("eagler:gui/button_gridView.png"));
}
GlStateManager.color(1, 1, 1);