Remove translate func

This commit is contained in:
ThisIsALegitUsername 2023-02-04 23:53:03 +00:00
parent ad4ab5299e
commit 99a8de1bd0
3 changed files with 11365 additions and 11370 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -26,8 +26,6 @@ public class TabGui extends RenderMod{
} }
public void draw() { public void draw() {
GlUtils.startTranslate(this.x, this.y-50);
Gui.drawRect(x+5, y+30.5, x+70, y+31.5+Category.values().length*16, 0x90000000); Gui.drawRect(x+5, y+30.5, x+70, y+31.5+Category.values().length*16, 0x90000000);
RenderUtils.drawChromaRectangle(x+7, y+33+current*16, x+68, y+45+current*16, 0xff900000); RenderUtils.drawChromaRectangle(x+7, y+33+current*16, x+68, y+45+current*16, 0xff900000);
@ -52,7 +50,6 @@ public class TabGui extends RenderMod{
offset += 16; offset += 16;
} }
} }
GlUtils.stopTranslate();
} }
public void onKey(int k){ public void onKey(int k){