From f623fee21027a535a87831ece29f1af0e7830f92 Mon Sep 17 00:00:00 2001 From: yzyray <49384584+yzyray@users.noreply.github.com> Date: Sat, 12 Oct 2019 14:12:38 +0800 Subject: [PATCH] change emptyName to true (#622) --- src/main/java/featurecat/lizzie/gui/BoardRenderer.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/featurecat/lizzie/gui/BoardRenderer.java b/src/main/java/featurecat/lizzie/gui/BoardRenderer.java index 2bf6a8446..779affbb9 100644 --- a/src/main/java/featurecat/lizzie/gui/BoardRenderer.java +++ b/src/main/java/featurecat/lizzie/gui/BoardRenderer.java @@ -53,7 +53,7 @@ public class BoardRenderer { private static final double STARPOINT_DIAMETER = 0.015; private static final BufferedImage emptyImage = new BufferedImage(1, 1, TYPE_INT_ARGB); - private static boolean emptyName = false; + private static boolean emptyName = true; private static boolean changedName = false; private int x, y; @@ -1791,7 +1791,10 @@ public void drawEstimateRect(ArrayList estimateArray, boolean isZen) { boolean differentColor = isBlack ? stoneHere.isWhite() : stoneHere.isBlack(); boolean anyColor = stoneHere.isWhite() || stoneHere.isBlack(); boolean allowed = - drawSmart == 0 || (drawSmart == 1 && differentColor) || (drawSmart == 2 && anyColor) || (drawSmart == 1 && !anyColor && drawSmall); + drawSmart == 0 + || (drawSmart == 1 && differentColor) + || (drawSmart == 2 && anyColor) + || (drawSmart == 1 && !anyColor && drawSmall); if (drawSmall && allowed) { double lengthFactor = drawSize ? 2 * convertLength(estimate) : 1.2; int length = (int) (lengthFactor * stoneRadius);