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

Commit 0674159

Browse files
Renamed note-select-right to note-select-next
1 parent 8192fe1 commit 0674159

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,12 @@ const Utils = {
202202
{
203203
label: 'Select Next Note',
204204
accelerator: 'cmd+alt+right',
205-
click: () => win.webContents.send ( 'note-select-right' )
205+
click: () => win.webContents.send ( 'note-select-next' )
206206
},
207207
{ //TODO: Should be hidden
208208
label: 'Select Next Note',
209209
accelerator: 'ctrl+tab',
210-
click: () => win.webContents.send ( 'note-select-right' )
210+
click: () => win.webContents.send ( 'note-select-next' )
211211
},
212212
{ type: 'separator' },
213213
{

src/ui/app/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class App extends React.Component<any, any> {
4242
ipc.on ( 'note-delete', this.noteDelete.bind ( this ) );
4343
ipc.on ( 'note-select', this.noteSelect.bind ( this ) );
4444
ipc.on ( 'note-select-previous', this.noteSelectPrevious.bind ( this ) );
45-
ipc.on ( 'note-select-right', this.noteSelectNext.bind ( this ) );
45+
ipc.on ( 'note-select-next', this.noteSelectNext.bind ( this ) );
4646
ipc.on ( 'note-font-bold', this.noteFontBold.bind ( this ) );
4747
ipc.on ( 'note-font-italic', this.noteFontItalic.bind ( this ) );
4848
ipc.on ( 'note-font-strikethrough', this.noteFontStrikethrough.bind ( this ) );
@@ -58,7 +58,7 @@ class App extends React.Component<any, any> {
5858
ipc.removeAllListeners ( 'note-delete' );
5959
ipc.removeAllListeners ( 'note-select' );
6060
ipc.removeAllListeners ( 'note-select-previous' );
61-
ipc.removeAllListeners ( 'note-select-right' );
61+
ipc.removeAllListeners ( 'note-select-next' );
6262
ipc.removeAllListeners ( 'note-font-bold' );
6363
ipc.removeAllListeners ( 'note-font-italic' );
6464
ipc.removeAllListeners ( 'note-font-strikethrough' );

0 commit comments

Comments
 (0)