Fixed a bug that would prevent errors from being highlighted.

This commit is contained in:
Christopher Beckmann 2020-04-30 11:49:37 +02:00
parent ad4bb2b129
commit ca76ef164a

View file

@ -207,13 +207,13 @@ public class SudokuFieldLayout extends RelativeLayout implements IHighlightChang
gamecells[i][j].invalidate(); gamecells[i][j].invalidate();
} }
} }
this.invalidate();
} }
@Override @Override
public void dispatchDraw(Canvas canvas) { public void dispatchDraw(Canvas canvas) {
super.dispatchDraw(canvas); super.dispatchDraw(canvas);
if(gameController == null) { if(gameController == null) {
return; return;
} }