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

pull/528/head
Thibaut SABOT 5 years ago committed by Lipis
parent d24b9c4d78
commit e8c909e35c

@ -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 });

Loading…
Cancel
Save