mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-01 14:12:26 +00:00
chore: fmt
This commit is contained in:
parent
7889fbb4d2
commit
cd6959b989
|
|
@ -28,13 +28,13 @@ void AbstractBeaconButton::renderBg(Minecraft* minecraft, int xm, int ym) {
|
||||||
|
|
||||||
int texU = 0;
|
int texU = 0;
|
||||||
if (!active) {
|
if (!active) {
|
||||||
texU += w * 2;
|
texU += w * 2;
|
||||||
} else if (selected) {
|
} else if (selected) {
|
||||||
texU += w * 1;
|
texU += w * 1;
|
||||||
} else if (hovered) {
|
} else if (hovered) {
|
||||||
texU += w * 3;
|
texU += w * 3;
|
||||||
}
|
}
|
||||||
int texV = 219;
|
int texV = 219;
|
||||||
|
|
||||||
blit(x, y, texU, texV, w, h);
|
blit(x, y, texU, texV, w, h);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue