Skip to content

Commit

Permalink
Fix bug in #70 - hold-to-select characters weren't grouped properly
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Dec 4, 2021
1 parent 634875d commit b7cba09
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Keyboards/KeyboardsBase/InterfaceVariables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ public enum FrenchKeyboardConstants {
]

// Alternate key vars.
static let keysWithAlternates = ["a", "e", "s", "y", "c", "u", "i", "o", "n"]
static let keysWithAlternatesLeft = ["a", "e", "s", "y", "c"]
static let keysWithAlternatesRight = ["u", "i", "o", "n"]
static let keysWithAlternates = ["a", "e", "i", "o", "u", "y", "c", "n"]
static let keysWithAlternatesLeft = ["a", "e", "y", "c"]
static let keysWithAlternatesRight = ["i", "o", "u", "n"]

static let aAlternateKeys = ["à", "â", "æ", "á", "ä", "ã", "å", "ā", ""]
static let eAlternateKeys = ["é", "è", "ê", "ë", "ę", "ė", "ē"]
Expand Down Expand Up @@ -220,9 +220,9 @@ public enum GermanKeyboardConstants {
]

// Alternate key vars.
static let keysWithAlternates = ["a", "e", "s", "y", "c", "u", "i", "o", "n"]
static let keysWithAlternatesLeft = ["a", "e", "s", "y", "c"]
static let keysWithAlternatesRight = ["u", "i", "o", "n"]
static let keysWithAlternates = ["a", "e", "i", "o", "u", "y", "s", "c", "n"]
static let keysWithAlternatesLeft = ["a", "e", "y", "s", "c"]
static let keysWithAlternatesRight = ["i", "o", "u", "n"]

static let aAlternateKeys = ["à", "á", "â", "æ", "ã", "å", "ā"]
static let eAlternateKeys = ["é", "è", "ê", "ë", "ė"]
Expand Down Expand Up @@ -283,9 +283,9 @@ public enum PortugueseKeyboardConstants {
]

// Alternate key vars.
static let keysWithAlternates = ["a", "e", "s", "y", "c", "u", "i", "o", "n"]
static let keysWithAlternatesLeft = ["a", "e", "s", "y", "c"]
static let keysWithAlternatesRight = ["u", "i", "o", "n"]
static let keysWithAlternates = ["a", "e", "i", "o", "u", "c", "n"]
static let keysWithAlternatesLeft = ["a", "e", "c"]
static let keysWithAlternatesRight = ["i", "o", "u", "n"]

static let aAlternateKeys = ["á", "ã", "à", "â", "ä", "å", "æ", ""]
static let eAlternateKeys = ["é", "ê", "è", "ę", "ė", "ē", "ë"]
Expand Down Expand Up @@ -400,9 +400,9 @@ public class SpanishKeyboardConstants {
]

// Alternate key vars.
static let keysWithAlternates = ["a", "e", "s", "y", "c", "u", "i", "o", "n"]
static let keysWithAlternates = ["a", "e", "i", "o", "u", "s", "d", "c", "n"]
static let keysWithAlternatesLeft = ["a", "e", "s", "d", "c"]
static let keysWithAlternatesRight = ["u", "i", "o", "n"]
static let keysWithAlternatesRight = ["i", "o", "u", "n"]

static let aAlternateKeys = ["á", "à", "ä", "â", "ã", "å", "ą", "æ", "ā", ""]
static let eAlternateKeys = ["é", "è", "ë", "ê", "ę", "ė", "ē"]
Expand Down

0 comments on commit b7cba09

Please sign in to comment.