mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 15:47:55 +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>
|
||||||
<tr>
|
<tr>
|
||||||
<td>${$msg('TOPIC_NOTE')}</td>
|
<td>${$msg('TOPIC_NOTE')}</td>
|
||||||
<td>Ctrl + n</td>
|
<td>Ctrl + k</td>
|
||||||
<td>⌘ + n</td>
|
<td>⌘ + k</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>${$msg('TOPIC_LINK')}</td>
|
<td>${$msg('TOPIC_LINK')}</td>
|
||||||
|
@ -125,7 +125,7 @@ class DesignerKeyboard extends Keyboard {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
this.addShortcut(
|
this.addShortcut(
|
||||||
['ctrl+n', 'meta+n'], (event: Event) => {
|
['ctrl+k', 'meta+k'], (event: Event) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
designer.addNote();
|
designer.addNote();
|
||||||
|
Loading…
Reference in New Issue
Block a user