From 74d1cd2d01a9fce09303539e0157df013d1bf9e2 Mon Sep 17 00:00:00 2001 From: orangemug Date: Sun, 3 Jun 2018 09:17:53 +0100 Subject: [PATCH] Renamed 'Sources' -> 'Data Sources' to make it clearer and make shortcuts easier to remember. --- src/components/App.jsx | 6 +++--- src/components/Toolbar.jsx | 2 +- src/components/modals/ShortcutsModal.jsx | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/App.jsx b/src/components/App.jsx index 9265b93..eda2f05 100644 --- a/src/components/App.jsx +++ b/src/components/App.jsx @@ -63,7 +63,7 @@ export default class App extends React.Component { "o": 79, "e": 69, "s": 83, - "p": 80, + "d": 68, "i": 73, "m": 77, } @@ -88,13 +88,13 @@ export default class App extends React.Component { } }, { - keyCode: keyCodes["s"], + keyCode: keyCodes["d"], handler: () => { this.toggleModal("sources"); } }, { - keyCode: keyCodes["p"], + keyCode: keyCodes["s"], handler: () => { this.toggleModal("settings"); } diff --git a/src/components/Toolbar.jsx b/src/components/Toolbar.jsx index 2d85653..4e83d66 100644 --- a/src/components/Toolbar.jsx +++ b/src/components/Toolbar.jsx @@ -118,7 +118,7 @@ export default class Toolbar extends React.Component { - Sources + Data Sources diff --git a/src/components/modals/ShortcutsModal.jsx b/src/components/modals/ShortcutsModal.jsx index b14b413..0aa0a7f 100644 --- a/src/components/modals/ShortcutsModal.jsx +++ b/src/components/modals/ShortcutsModal.jsx @@ -30,12 +30,12 @@ class ShortcutsModal extends React.Component { text: "Export modal" }, { - key: "s", - text: "Sources modal" + key: "d", + text: "Data Sources modal" }, { - key: "p", - text: "Style settings modal" + key: "s", + text: "Style Settings modal" }, { key: "i",