mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
No named colors and lowercase hex (#395)
* No named colors and lowercase hex * consistent
This commit is contained in:
parent
1ae3c64860
commit
8154ccd907
7 changed files with 57 additions and 64 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue