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:
parent
5d9863bdee
commit
72786d070e
7 changed files with 7 additions and 1 deletions
app/src/main
ic_launcher-web.png
java/org/secuso/privacyfriendlysudoku/controller
res
mipmap-hdpi
mipmap-mdpi
mipmap-xhdpi
mipmap-xxhdpi
mipmap-xxxhdpi
BIN
app/src/main/ic_launcher-web.png
Normal file
BIN
app/src/main/ic_launcher-web.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 63 KiB |
|
@ -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 ![]() (image error) Size: 3.3 KiB After ![]() (image error) Size: 4.5 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 2.2 KiB After ![]() (image error) Size: 2.8 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 4.7 KiB After ![]() (image error) Size: 6.5 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 7.5 KiB After ![]() (image error) Size: 11 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 10 KiB After ![]() (image error) Size: 16 KiB ![]() ![]() |
Loading…
Add table
Add a link
Reference in a new issue