Alter shortlink hotkey - for #58

This commit is contained in:
Cmdr McDonald
2017-01-27 09:54:08 +00:00
parent 84ff013a9e
commit c9b9404ba1
3 changed files with 4 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
* Tidy up old references to coriolis.io
* Add ability to add and remove special effects to weapon modifications
* Add weapon engineering information to Damage Dealt section
* Change shortcut for link from ctrl-l to ctrl-o to avoid clash with location bar
#2.2.11
* Add help system and initial help file

View File

@@ -174,8 +174,8 @@ export default class Coriolis extends React.Component {
this._showModal(<ModalImport />);
}
break;
case 76: // 'l'
if (e.ctrlKey || e.metaKey) { // CTRL/CMD + l
case 79: // 'o'
if (e.ctrlKey || e.metaKey) { // CTRL/CMD + o
e.preventDefault();
this._showModal(<ModalPermalink url={window.location.href}/>);
}

View File

@@ -291,7 +291,7 @@ The damage received panel provides information about the effectiveness of your b
<dt>Ctrl-e</dt><dd>open export dialogue (outfitting page only)</dd>
<dt>Ctrl-h</dt><dd>open help dialogue</dd>
<dt>Ctrl-i</dt><dd>open import dialogue</dd>
<dt>Ctrl-l</dt><dd>open shortlink dialogue</dd>
<dt>Ctrl-o</dt><dd>open shortlink dialogue</dd>
<dt>Esc</dt><dd>close any open dialogue</dd>
</dl>
<h1>Glossary</h1>