Add special 'mac-' and 'win-' modifiers, fixes #29

This commit is contained in:
airstruck
2016-01-28 11:26:04 -05:00
parent f9a8ffa2e2
commit d1501fca41
5 changed files with 72 additions and 30 deletions

View File

@@ -28,7 +28,7 @@ return { id = 'mainWindow',
},
},
{ style = 'toolbar',
{ id = 'newButton', style = 'toolButton', shortcut = { 'z', 'x' },
{ id = 'newButton', style = 'toolButton', shortcut = { 'win-z', 'mac-x' },
icon = 'icon/32px/Blueprint.png',
status = 'Create a new thing' },
{ id = 'loadButton', style = 'toolButton',