hide mouse buttons

This commit is contained in:
yugecin 2018-04-14 20:01:08 +02:00
parent f398b961d7
commit eec3ae3ecd

View File

@ -35,6 +35,8 @@ import java.util.LinkedList;
public class ReplayPlayback { public class ReplayPlayback {
private static final boolean HIDEMOUSEBTNS = true;
private final DisplayContainer container; private final DisplayContainer container;
private final HitData hitdata; private final HitData hitdata;
public final Replay replay; public final Replay replay;
@ -253,7 +255,7 @@ public class ReplayPlayback {
} }
} }
Color fadecolor = new Color(1f, 1f, 1f, color.a); Color fadecolor = new Color(1f, 1f, 1f, color.a);
int xpos = SQSIZE * 5; int xpos = SQSIZE * (HIDEMOUSEBTNS ? 3 : 5);
Fonts.SMALLBOLD.drawString(xpos + ACCMAXWIDTH - currentAccWidth - 10, ypos, currentAcc, new Color(.4f, .4f, .4f, color.a)); Fonts.SMALLBOLD.drawString(xpos + ACCMAXWIDTH - currentAccWidth - 10, ypos, currentAcc, new Color(.4f, .4f, .4f, color.a));
xpos += ACCMAXWIDTH; xpos += ACCMAXWIDTH;
if (gradeImage != null) { if (gradeImage != null) {