Fixed a bug with the Hint button. When pressed when having notes activated, it would set notes instead of revealing the selected field.

Also added the sudoku ic_launcher icon.
This commit is contained in:
Christopher Beckmann 2016-02-19 16:27:38 +01:00
parent 5d9863bdee
commit 72786d070e
7 changed files with 7 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View file

@ -179,10 +179,16 @@ public class GameController implements IModelChangedListener, Parcelable {
int[] solved = solve();
// and reveal the selected value.
selectValue(solved[selectedRow * getSize() + selectedCol]);
int value = solved[selectedRow * getSize() + selectedCol];
setValue(selectedRow, selectedCol, value);
// add state to undo
undoRedoManager.addState(gameBoard);
highlightValue = value;
usedHints++;
notifyHintListener();
notifyHighlightChangedListeners();
}
private void setGameType(GameType type) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 16 KiB