Skip to content

Commit

Permalink
change emptyName to true (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzyray authored and zsalch committed Oct 12, 2019
1 parent 0507e9e commit f623fee
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/featurecat/lizzie/gui/BoardRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -1791,7 +1791,10 @@ public void drawEstimateRect(ArrayList<Double> 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);
Expand Down

0 comments on commit f623fee

Please sign in to comment.