mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-09 02:27:52 +02:00
No named colors and lowercase hex (#395)
* No named colors and lowercase hex * consistent
This commit is contained in:

committed by
Christopher Chedeau

parent
1ae3c64860
commit
8154ccd907
@@ -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);
|
||||
|
Reference in New Issue
Block a user