mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-23 05:52:42 -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 = {
|
||||
colorInfo: PropTypes.shape({
|
||||
color: PropTypes.instanceOf(Uint8ClampedArray),
|
||||
color: PropTypes.instanceOf(Uint8ClampedArray), // this is the [r,g,b,a] array
|
||||
x: PropTypes.number,
|
||||
y: PropTypes.number,
|
||||
data: PropTypes.instanceOf(Uint8ClampedArray)
|
||||
|
|
Loading…
Reference in a new issue