mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-01-09 14:12:13 -05:00
Only show outline box if not mixed colors
This commit is contained in:
parent
5bae62e7d1
commit
7622d02184
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ const ColorButtonComponent = props => (
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={classNames(styles.colorButtonSwatch, {
|
className={classNames(styles.colorButtonSwatch, {
|
||||||
[styles.outlineSwatch]: props.outline
|
[styles.outlineSwatch]: props.outline && !(props.color === MIXED)
|
||||||
})}
|
})}
|
||||||
style={{
|
style={{
|
||||||
background: colorToBackground(props.color)
|
background: colorToBackground(props.color)
|
||||||
|
|
Loading…
Reference in a new issue