summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-11-26 19:45:57 +0100
committerNao Pross <naopross@thearcway.org>2018-11-26 19:45:57 +0100
commitd37147d437915c4a644273abc38b70f3c20bea70 (patch)
tree3b2fcf1675aaf1f8382ce4a39bae312e1a17944e
parentCapitalize actor names in testmap.json (diff)
downloadSubconscious-java-d37147d437915c4a644273abc38b70f3c20bea70.tar.gz
Subconscious-java-d37147d437915c4a644273abc38b70f3c20bea70.zip
Fix PerfView text color
-rw-r--r--src/subconscious/graphics/widget/PerfView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/subconscious/graphics/widget/PerfView.java b/src/subconscious/graphics/widget/PerfView.java
index 94c68ab..d5de3cb 100644
--- a/src/subconscious/graphics/widget/PerfView.java
+++ b/src/subconscious/graphics/widget/PerfView.java
@@ -1,5 +1,7 @@
package subconscious.graphics.widget;
+import subconscious.graphics.Palette;
+
import java.awt.Graphics2D;
@@ -22,6 +24,7 @@ public class PerfView extends Widget implements Dynamic {
@Override
public void render(Graphics2D g) {
+ g.setColor(Palette.BLACK);
g.drawString("DeltaTime (us): ", 0, HEIGHT/2);
g.drawString(Long.toString(this.lastDeltaNanoTime/1000), 0, HEIGHT);
}