mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-30 01:04:42 +01:00
Renamed 'Sources' -> 'Data Sources' to make it clearer and make shortcuts easier to remember.
This commit is contained in:
parent
480d54c2d8
commit
74d1cd2d01
3 changed files with 8 additions and 8 deletions
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ export default class Toolbar extends React.Component {
|
|||
</ToolbarAction>
|
||||
<ToolbarAction wdKey="nav:sources" onClick={this.props.onToggleModal.bind(this, 'sources')}>
|
||||
<SourcesIcon />
|
||||
<IconText>Sources</IconText>
|
||||
<IconText>Data Sources</IconText>
|
||||
</ToolbarAction>
|
||||
<ToolbarAction wdKey="nav:settings" onClick={this.props.onToggleModal.bind(this, 'settings')}>
|
||||
<SettingsIcon />
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue