Shortcut key notifications; Fullscreen now ctrl+fwdslash

This commit is contained in:
James Barnsley
2017-03-21 08:33:32 +13:00
parent 38a7fe1aae
commit f22e0251d7
8 changed files with 60 additions and 23 deletions

View File

@ -222,13 +222,14 @@ export function createBrowserNotification( data ){
}
}
export function createNotification( content, type = 'default' ){
export function createNotification(content, type = 'default', is_shortcut = false){
return {
type: 'CREATE_NOTIFICATION',
notification: {
id: helpers.generateGuid(),
type: type,
content: content
content: content,
is_shortcut: is_shortcut
}
}
}