Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

Commit

Permalink
Renamed note-select-right to note-select-next
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiospampinato committed Mar 14, 2018
1 parent 8192fe1 commit 0674159
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,12 @@ const Utils = {
{
label: 'Select Next Note',
accelerator: 'cmd+alt+right',
click: () => win.webContents.send ( 'note-select-right' )
click: () => win.webContents.send ( 'note-select-next' )
},
{ //TODO: Should be hidden
label: 'Select Next Note',
accelerator: 'ctrl+tab',
click: () => win.webContents.send ( 'note-select-right' )
click: () => win.webContents.send ( 'note-select-next' )
},
{ type: 'separator' },
{
Expand Down
4 changes: 2 additions & 2 deletions src/ui/app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class App extends React.Component<any, any> {
ipc.on ( 'note-delete', this.noteDelete.bind ( this ) );
ipc.on ( 'note-select', this.noteSelect.bind ( this ) );
ipc.on ( 'note-select-previous', this.noteSelectPrevious.bind ( this ) );
ipc.on ( 'note-select-right', this.noteSelectNext.bind ( this ) );
ipc.on ( 'note-select-next', this.noteSelectNext.bind ( this ) );
ipc.on ( 'note-font-bold', this.noteFontBold.bind ( this ) );
ipc.on ( 'note-font-italic', this.noteFontItalic.bind ( this ) );
ipc.on ( 'note-font-strikethrough', this.noteFontStrikethrough.bind ( this ) );
Expand All @@ -58,7 +58,7 @@ class App extends React.Component<any, any> {
ipc.removeAllListeners ( 'note-delete' );
ipc.removeAllListeners ( 'note-select' );
ipc.removeAllListeners ( 'note-select-previous' );
ipc.removeAllListeners ( 'note-select-right' );
ipc.removeAllListeners ( 'note-select-next' );
ipc.removeAllListeners ( 'note-font-bold' );
ipc.removeAllListeners ( 'note-font-italic' );
ipc.removeAllListeners ( 'note-font-strikethrough' );
Expand Down

0 comments on commit 0674159

Please sign in to comment.