Don't use translated value for shortcut (#526)
This commit is contained in:
parent
d24b9c4d78
commit
e8c909e35c
@ -506,7 +506,7 @@ export class App extends React.Component<any, AppState> {
|
|||||||
checked={this.state.elementType === value}
|
checked={this.state.elementType === value}
|
||||||
name="editor-current-shape"
|
name="editor-current-shape"
|
||||||
title={`${capitalizeString(label)} — ${
|
title={`${capitalizeString(label)} — ${
|
||||||
capitalizeString(label)[0]
|
capitalizeString(value)[0]
|
||||||
}, ${index + 1}`}
|
}, ${index + 1}`}
|
||||||
onChange={() => {
|
onChange={() => {
|
||||||
this.setState({ elementType: value });
|
this.setState({ elementType: value });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user