Changed default of step 0.01 -> 1

This commit is contained in:
orangemug 2019-05-20 11:28:27 +01:00
parent 5053058c32
commit 15cdfbc980
3 changed files with 1 additions and 3 deletions

View file

@ -13,7 +13,7 @@ class NumberInput extends React.Component {
}
static defaultProps = {
rangeStep: 0.01
rangeStep: 1
}
constructor(props) {

View file

@ -17,7 +17,6 @@ class MaxZoomBlock extends React.Component {
>
<NumberInput
allowRange={true}
rangeStep={1}
value={this.props.value}
onChange={this.props.onChange}
min={latest.layer.maxzoom.minimum}

View file

@ -17,7 +17,6 @@ class MinZoomBlock extends React.Component {
>
<NumberInput
allowRange={true}
rangeStep={1}
value={this.props.value}
onChange={this.props.onChange}
min={latest.layer.minzoom.minimum}