IMKHelper // +allowedAlphanumericalTISInputSources.
This commit is contained in:
parent
ece124d05d
commit
505b000a02
|
@ -41,6 +41,10 @@ enum IMKHelper {
|
||||||
"org.unknown.keylayout.vChewingMiTAC",
|
"org.unknown.keylayout.vChewingMiTAC",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
static var allowedAlphanumericalTISInputSources: [TISInputSource] {
|
||||||
|
arrWhitelistedKeyLayoutsASCII.compactMap { TISInputSource.generate(from: $0) }
|
||||||
|
}
|
||||||
|
|
||||||
static var allowedBasicLayoutsAsTISInputSources: [TISInputSource?] {
|
static var allowedBasicLayoutsAsTISInputSources: [TISInputSource?] {
|
||||||
// 為了保證清單順序,先弄兩個容器。
|
// 為了保證清單順序,先弄兩個容器。
|
||||||
var containerA: [TISInputSource?] = []
|
var containerA: [TISInputSource?] = []
|
||||||
|
|
Loading…
Reference in New Issue