From eec3ae3ecd02fae0d3da912fa084e9478d503ae9 Mon Sep 17 00:00:00 2001 From: yugecin Date: Sat, 14 Apr 2018 20:01:08 +0200 Subject: [PATCH] hide mouse buttons --- src/yugecin/opsudance/ReplayPlayback.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/yugecin/opsudance/ReplayPlayback.java b/src/yugecin/opsudance/ReplayPlayback.java index 9f42f0e5..a60eb2d5 100644 --- a/src/yugecin/opsudance/ReplayPlayback.java +++ b/src/yugecin/opsudance/ReplayPlayback.java @@ -35,6 +35,8 @@ import java.util.LinkedList; public class ReplayPlayback { + private static final boolean HIDEMOUSEBTNS = true; + private final DisplayContainer container; private final HitData hitdata; public final Replay replay; @@ -253,7 +255,7 @@ public class ReplayPlayback { } } 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)); xpos += ACCMAXWIDTH; if (gradeImage != null) {