mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Don't use translated value for shortcut (#526)
This commit is contained in:
parent
d24b9c4d78
commit
e8c909e35c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue