mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-21 22:27:56 +01:00
Change add note shorcut to avoid collision with chrome shortcuts
This commit is contained in:
parent
08242dcbad
commit
8e263e4047
@ -128,8 +128,8 @@ class KeyboardShortcutDialog extends BootstrapDialog {
|
||||
</tr>
|
||||
<tr>
|
||||
<td>${$msg('TOPIC_NOTE')}</td>
|
||||
<td>Ctrl + n</td>
|
||||
<td>⌘ + n</td>
|
||||
<td>Ctrl + k</td>
|
||||
<td>⌘ + k</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>${$msg('TOPIC_LINK')}</td>
|
||||
|
@ -125,7 +125,7 @@ class DesignerKeyboard extends Keyboard {
|
||||
},
|
||||
);
|
||||
this.addShortcut(
|
||||
['ctrl+n', 'meta+n'], (event: Event) => {
|
||||
['ctrl+k', 'meta+k'], (event: Event) => {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
designer.addNote();
|
||||
|
Loading…
Reference in New Issue
Block a user