Skip to content
This repository was archived by the owner on Jul 21, 2024. It is now read-only.

Commit 2720a79

Browse files
authored
Make Key initializer from keyCode public
1 parent b521c4f commit 2720a79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/Sauce/Key.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public enum Key {
224224
}
225225
}
226226

227-
init?(QWERTYKeyCode keyCode: Int) {
227+
public init?(QWERTYKeyCode keyCode: Int) {
228228
switch keyCode {
229229
case kVK_ANSI_A: self = .a
230230
case kVK_ANSI_S: self = .s

0 commit comments

Comments
 (0)