mirror of
https://github.com/maputnik/editor.git
synced 2026-01-06 13:30:03 +00:00
Renamed 'Sources' -> 'Data Sources' to make it clearer and make shortcuts easier to remember.
This commit is contained in:
@@ -63,7 +63,7 @@ export default class App extends React.Component {
|
|||||||
"o": 79,
|
"o": 79,
|
||||||
"e": 69,
|
"e": 69,
|
||||||
"s": 83,
|
"s": 83,
|
||||||
"p": 80,
|
"d": 68,
|
||||||
"i": 73,
|
"i": 73,
|
||||||
"m": 77,
|
"m": 77,
|
||||||
}
|
}
|
||||||
@@ -88,13 +88,13 @@ export default class App extends React.Component {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
keyCode: keyCodes["s"],
|
keyCode: keyCodes["d"],
|
||||||
handler: () => {
|
handler: () => {
|
||||||
this.toggleModal("sources");
|
this.toggleModal("sources");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
keyCode: keyCodes["p"],
|
keyCode: keyCodes["s"],
|
||||||
handler: () => {
|
handler: () => {
|
||||||
this.toggleModal("settings");
|
this.toggleModal("settings");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ export default class Toolbar extends React.Component {
|
|||||||
</ToolbarAction>
|
</ToolbarAction>
|
||||||
<ToolbarAction wdKey="nav:sources" onClick={this.props.onToggleModal.bind(this, 'sources')}>
|
<ToolbarAction wdKey="nav:sources" onClick={this.props.onToggleModal.bind(this, 'sources')}>
|
||||||
<SourcesIcon />
|
<SourcesIcon />
|
||||||
<IconText>Sources</IconText>
|
<IconText>Data Sources</IconText>
|
||||||
</ToolbarAction>
|
</ToolbarAction>
|
||||||
<ToolbarAction wdKey="nav:settings" onClick={this.props.onToggleModal.bind(this, 'settings')}>
|
<ToolbarAction wdKey="nav:settings" onClick={this.props.onToggleModal.bind(this, 'settings')}>
|
||||||
<SettingsIcon />
|
<SettingsIcon />
|
||||||
|
|||||||
@@ -30,12 +30,12 @@ class ShortcutsModal extends React.Component {
|
|||||||
text: "Export modal"
|
text: "Export modal"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "s",
|
key: "d",
|
||||||
text: "Sources modal"
|
text: "Data Sources modal"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "p",
|
key: "s",
|
||||||
text: "Style settings modal"
|
text: "Style Settings modal"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "i",
|
key: "i",
|
||||||
|
|||||||
Reference in New Issue
Block a user