Commit dbebb1a9 authored by Marc Schiller's avatar Marc Schiller
Browse files

Set text color for yellow backgrounds to gray.

parent a4b394d5
......@@ -232,7 +232,12 @@ public class ModelFiveGVisualization extends JComponent
g2.drawRect(x, y, stepSize, stepSize);
// Write current values to cell
g2.setColor(new Color(255, 255, 255, 255));
// Set text color for yellow to grey else to white
if(status== 1) {
g2.setColor(new Color(160, 160, 160, 255));
} else {
g2.setColor(new Color(255, 255, 255, 255));
}
if (showText) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment