mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-23 14:02:50 -05:00
add comment to colorInfo shape
This commit is contained in:
parent
8c2fc475f6
commit
73dce6ca50
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class LoupeComponent extends React.Component {
|
||||||
|
|
||||||
LoupeComponent.propTypes = {
|
LoupeComponent.propTypes = {
|
||||||
colorInfo: PropTypes.shape({
|
colorInfo: PropTypes.shape({
|
||||||
color: PropTypes.instanceOf(Uint8ClampedArray),
|
color: PropTypes.instanceOf(Uint8ClampedArray), // this is the [r,g,b,a] array
|
||||||
x: PropTypes.number,
|
x: PropTypes.number,
|
||||||
y: PropTypes.number,
|
y: PropTypes.number,
|
||||||
data: PropTypes.instanceOf(Uint8ClampedArray)
|
data: PropTypes.instanceOf(Uint8ClampedArray)
|
||||||
|
|
Loading…
Reference in a new issue