Don't use translated value for shortcut (#526)

This commit is contained in:
Thibaut SABOT 2020-01-23 17:28:05 +01:00 committed by Lipis
parent d24b9c4d78
commit e8c909e35c
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ export class App extends React.Component<any, AppState> {
checked={this.state.elementType === value}
name="editor-current-shape"
title={`${capitalizeString(label)}${
capitalizeString(label)[0]
capitalizeString(value)[0]
}, ${index + 1}`}
onChange={() => {
this.setState({ elementType: value });