mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 21:42:30 -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 = {
|
StrokeWidthIndicatorComponent.propTypes = {
|
||||||
onChangeStrokeWidth: PropTypes.func.isRequired,
|
onChangeStrokeWidth: PropTypes.func.isRequired,
|
||||||
strokeWidth: PropTypes.string.isRequired
|
strokeWidth: PropTypes.number.isRequired
|
||||||
};
|
};
|
||||||
|
|
||||||
export default StrokeWidthIndicatorComponent;
|
export default StrokeWidthIndicatorComponent;
|
||||||
|
|
|
@ -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