Procházet zdrojové kódy

statistics graph, removed white text

Kevin Trometer před 8 roky
rodič
revize
96724b5fee
1 změnil soubory, kde provedl 0 přidání a 3 odebrání
  1. 0 3
      src/ui/view/StatisticGraphPanel.java

+ 0 - 3
src/ui/view/StatisticGraphPanel.java

@@ -232,9 +232,6 @@ public class StatisticGraphPanel extends JPanel {
 		//b.setBackground(set.getColor());
 		b.setBorder(BorderFactory.createLineBorder(set.getColor()));
 		int color = Math.max(Math.max(set.getColor().getRed(), set.getColor().getGreen()), set.getColor().getBlue());
-		if (color <= 128) {
-			b.setForeground(Color.WHITE);
-		}
 
 		b.setOpaque(true);
 		b.addMouseListener(new MouseAdapter() {