Merge pull request #209 from lucasnlm/fix-bug

Enable chording on double click
This commit is contained in:
Lucas Nunes 2020-11-06 22:54:20 -03:00 committed by GitHub
commit 82d5ef40fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
)
)
@ -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,
)
)