mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-23 05:52:42 -05:00
correct stroke width type"
This commit is contained in:
parent
448ff9bfe4
commit
3126c2ca7f
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ BrushMode.propTypes = {
|
||||||
colorState: PropTypes.shape({
|
colorState: PropTypes.shape({
|
||||||
fillColor: PropTypes.string.isRequired,
|
fillColor: PropTypes.string.isRequired,
|
||||||
strokeColor: PropTypes.string.isRequired,
|
strokeColor: PropTypes.string.isRequired,
|
||||||
strokeWidth: PropTypes.string.isRequired
|
strokeWidth: PropTypes.number.isRequired
|
||||||
}).isRequired,
|
}).isRequired,
|
||||||
handleMouseDown: PropTypes.func.isRequired,
|
handleMouseDown: PropTypes.func.isRequired,
|
||||||
isBrushModeActive: PropTypes.bool.isRequired,
|
isBrushModeActive: PropTypes.bool.isRequired,
|
||||||
|
|
|
@ -272,7 +272,7 @@ LineMode.propTypes = {
|
||||||
colorState: PropTypes.shape({
|
colorState: PropTypes.shape({
|
||||||
fillColor: PropTypes.string.isRequired,
|
fillColor: PropTypes.string.isRequired,
|
||||||
strokeColor: PropTypes.string.isRequired,
|
strokeColor: PropTypes.string.isRequired,
|
||||||
strokeWidth: PropTypes.string.isRequired
|
strokeWidth: PropTypes.number.isRequired
|
||||||
}).isRequired,
|
}).isRequired,
|
||||||
handleMouseDown: PropTypes.func.isRequired,
|
handleMouseDown: PropTypes.func.isRequired,
|
||||||
isLineModeActive: PropTypes.bool.isRequired,
|
isLineModeActive: PropTypes.bool.isRequired,
|
||||||
|
|
Loading…
Reference in a new issue