Skip to content

Commit

Permalink
Merge pull request #209 from lucasnlm/fix-bug
Browse files Browse the repository at this point in the history
Enable chording on double click
  • Loading branch information
lucasnlm committed Nov 7, 2020
2 parents d025d74 + ed6d0cb commit 82d5ef4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ sealed class GameControl(
doubleClick = ActionResponse.OpenTile,
),
onOpen = Actions(
singleClick = ActionResponse.HighlightNeighbors,
singleClick = ActionResponse.OpenNeighbors,
longPress = null,
doubleClick = ActionResponse.OpenNeighbors,
doubleClick = ActionResponse.HighlightNeighbors,
)
)

Expand All @@ -91,9 +91,9 @@ sealed class GameControl(
doubleClick = ActionResponse.SwitchMark,
),
onOpen = Actions(
singleClick = ActionResponse.HighlightNeighbors,
singleClick = ActionResponse.OpenNeighbors,
longPress = null,
doubleClick = ActionResponse.OpenNeighbors,
doubleClick = ActionResponse.HighlightNeighbors,
)
)

Expand Down

0 comments on commit 82d5ef4

Please sign in to comment.