Skip to content

Re-selecting the first of the previous two #2

@Mattschu

Description

@Mattschu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions