Explorar el Código

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

Thibaut SABOT hace 5 años
padre
commit
e8c909e35c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/index.tsx

+ 1 - 1
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 });