Skip to content

Commit

Permalink
Fix swipe direction and update Capital keyboard for EN_HR (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaric authored Apr 22, 2024
1 parent 2385d8c commit 622e523
Showing 1 changed file with 25 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ val KB_EN_HR_MESSAGEASE_MAIN =
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.FOUR_WAY_DIAGONAL,
swipes =
mapOf(
SwipeDirection.BOTTOM_RIGHT to
Expand Down Expand Up @@ -99,7 +98,6 @@ val KB_EN_HR_MESSAGEASE_MAIN =
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.TWO_WAY_HORIZONTAL,
swipes =
mapOf(
SwipeDirection.RIGHT to
Expand Down Expand Up @@ -206,7 +204,6 @@ val KB_EN_HR_MESSAGEASE_MAIN =
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.FOUR_WAY_DIAGONAL,
swipes =
mapOf(
SwipeDirection.TOP_RIGHT to
Expand Down Expand Up @@ -306,14 +303,23 @@ val KB_EN_HR_MESSAGEASE_SHIFTED =
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.FOUR_WAY_DIAGONAL,
swipes =
mapOf(
SwipeDirection.BOTTOM_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("V"),
action = KeyAction.CommitText("V"),
),
SwipeDirection.TOP to
KeyC(
display = KeyDisplay.TextDisplay("Š"),
action = KeyAction.CommitText("Š"),
),
SwipeDirection.BOTTOM to
KeyC(
display = KeyDisplay.TextDisplay("Đ"),
action = KeyAction.CommitText("Đ"),
),
),
),
KeyItemC(
Expand Down Expand Up @@ -363,14 +369,23 @@ val KB_EN_HR_MESSAGEASE_SHIFTED =
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.TWO_WAY_HORIZONTAL,
swipes =
mapOf(
SwipeDirection.RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("K"),
action = KeyAction.CommitText("K"),
),
SwipeDirection.TOP to
KeyC(
display = KeyDisplay.TextDisplay("Ć"),
action = KeyAction.CommitText("Ć"),
),
SwipeDirection.BOTTOM to
KeyC(
display = KeyDisplay.TextDisplay("Č"),
action = KeyAction.CommitText("Č"),
),
),
),
KeyItemC(
Expand Down Expand Up @@ -467,14 +482,18 @@ val KB_EN_HR_MESSAGEASE_SHIFTED =
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.FOUR_WAY_DIAGONAL,
swipes =
mapOf(
SwipeDirection.TOP_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("Y"),
action = KeyAction.CommitText("Y"),
),
SwipeDirection.TOP to
KeyC(
display = KeyDisplay.TextDisplay("Ž"),
action = KeyAction.CommitText("Ž"),
),
),
),
KeyItemC(
Expand Down

0 comments on commit 622e523

Please sign in to comment.