Hiding puck detection errors from users.

This commit is contained in:
gac-S_Changer
2018-10-11 13:42:14 +02:00
parent 95bb544a48
commit 8502dbd2a9
2 changed files with 16 additions and 4 deletions

View File

@@ -24,10 +24,10 @@ public class SampleGraphics {
Color getColor() {
Color ret = Color.LIGHT_GRAY;
if (sample.isLoaded()) {
if (sample.isLoaded() ) {
ret = Color.BLUE;
} else if (sample.wasLoaded()) {
ret = Color.GREEN;
//} else if (sample.wasLoaded()) {
// ret = Color.GREEN;
} else if (sample.isPresent()) {
ret = Color.CYAN.darker().darker();
}