Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

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

Thibaut SABOTe8c909e35c3d
diff --git a/src/index.tsx b/src/index.tsx
index b091426b79..3395ff4695 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -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 });