Fix modifier keys not being spread (#785)

This commit is contained in:
toasted-nutbread 2020-09-08 12:39:51 -04:00 committed by GitHub
parent f7093b4c1a
commit 5af3c680e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ async function settingsPopulateModifierKeys() {
const {platform: {os}} = await api.getEnvironmentInfo(); const {platform: {os}} = await api.getEnvironmentInfo();
const modifierKeys = [ const modifierKeys = [
['none', 'None'], ['none', 'None'],
DocumentUtil.getModifierKeys(os) ...DocumentUtil.getModifierKeys(os)
]; ];
for (const [value, name] of modifierKeys) { for (const [value, name] of modifierKeys) {
const option = document.createElement('option'); const option = document.createElement('option');