Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-selecting the first of the previous two #2

Open
Mattschu opened this issue Jun 26, 2016 · 0 comments
Open

Re-selecting the first of the previous two #2

Mattschu opened this issue Jun 26, 2016 · 0 comments

Comments

@Mattschu
Copy link

Mattschu commented Jun 26, 2016

When klicking on the first of the two tiles that just have been opened it is hidden but the programm thinks it's selected.
Source: "memory.java" onPosition() case 2 does call unselect but the selection is done before the switch case block. To fix this I believe you simply need to move the "tile.select();" statement to after the switch case block, just near "mSelectedCount++;".
I have just created a branch and pull-request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant