From c9b9404ba16bda99e340330cb951ef8e16b4022e Mon Sep 17 00:00:00 2001 From: Cmdr McDonald Date: Fri, 27 Jan 2017 09:54:08 +0000 Subject: [PATCH] Alter shortlink hotkey - for #58 --- ChangeLog.md | 1 + src/app/Coriolis.jsx | 4 ++-- src/app/i18n/en.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index a3d1a7d4..228127e7 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -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 diff --git a/src/app/Coriolis.jsx b/src/app/Coriolis.jsx index bc7fb168..9408afbd 100644 --- a/src/app/Coriolis.jsx +++ b/src/app/Coriolis.jsx @@ -174,8 +174,8 @@ export default class Coriolis extends React.Component { this._showModal(); } 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(); } diff --git a/src/app/i18n/en.js b/src/app/i18n/en.js index 3fdbaadf..5062f672 100644 --- a/src/app/i18n/en.js +++ b/src/app/i18n/en.js @@ -291,7 +291,7 @@ The damage received panel provides information about the effectiveness of your b
Ctrl-e
open export dialogue (outfitting page only)
Ctrl-h
open help dialogue
Ctrl-i
open import dialogue
-
Ctrl-l
open shortlink dialogue
+
Ctrl-o
open shortlink dialogue
Esc
close any open dialogue

Glossary