mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 13:32:28 -05:00
correct stroke width type"
This commit is contained in:
parent
47c1f791bc
commit
637e3bb8d0
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ const StrokeWidthIndicatorComponent = props => (
|
|||
|
||||
StrokeWidthIndicatorComponent.propTypes = {
|
||||
onChangeStrokeWidth: PropTypes.func.isRequired,
|
||||
strokeWidth: PropTypes.string.isRequired
|
||||
strokeWidth: PropTypes.number.isRequired
|
||||
};
|
||||
|
||||
export default StrokeWidthIndicatorComponent;
|
||||
|
|
|
@ -80,7 +80,7 @@ BrushMode.propTypes = {
|
|||
colorState: PropTypes.shape({
|
||||
fillColor: PropTypes.string.isRequired,
|
||||
strokeColor: PropTypes.string.isRequired,
|
||||
strokeWidth: PropTypes.string.isRequired
|
||||
strokeWidth: PropTypes.number.isRequired
|
||||
}).isRequired,
|
||||
handleMouseDown: PropTypes.func.isRequired,
|
||||
isBrushModeActive: PropTypes.bool.isRequired,
|
||||
|
|
|
@ -272,7 +272,7 @@ LineMode.propTypes = {
|
|||
colorState: PropTypes.shape({
|
||||
fillColor: PropTypes.string.isRequired,
|
||||
strokeColor: PropTypes.string.isRequired,
|
||||
strokeWidth: PropTypes.string.isRequired
|
||||
strokeWidth: PropTypes.number.isRequired
|
||||
}).isRequired,
|
||||
handleMouseDown: PropTypes.func.isRequired,
|
||||
isLineModeActive: PropTypes.bool.isRequired,
|
||||
|
|
Loading…
Reference in a new issue