fix: add correct windows and px keymap

This commit is contained in:
Philipp Kühn
2022-01-25 10:52:36 +01:00
parent 0aa39f93cb
commit 75e5601767
3 changed files with 41 additions and 12 deletions

View File

@@ -0,0 +1,5 @@
export function isMacOS(): boolean {
return typeof navigator !== 'undefined'
? /Mac/.test(navigator.platform)
: false
}