No named colors and lowercase hex (#395)

* No named colors and lowercase hex

* consistent
This commit is contained in:
Lipis 2020-01-16 20:16:08 +02:00 committed by Christopher Chedeau
parent 1ae3c64860
commit 8154ccd907
7 changed files with 57 additions and 64 deletions

View file

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