Merge pull request #209 from lucasnlm/fix-bug
Enable chording on double click
This commit is contained in:
commit
82d5ef40fa
1 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue