Revamp key/code input processing which fixes Option key on Mac and other locales

Closes #742
Closes #746
This commit is contained in:
Keavon Chambers
2022-08-11 02:53:46 -07:00
parent 765b648704
commit cf6bbcfd30
32 changed files with 1143 additions and 548 deletions
+1 -1
View File
@@ -49,6 +49,6 @@ export function operatingSystem(detailed = false): string {
return osTable[userAgentOS || "Unknown"];
}
export function operatingSystemIsMac(): boolean {
export function platformIsMac(): boolean {
return operatingSystem() === "Mac";
}