Remove translate func
This commit is contained in:
parent
ad4ab5299e
commit
99a8de1bd0
22730
javascript/classes.js
22730
javascript/classes.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -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){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user