mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 14:47:46 +01:00
Changed default of step 0.01 -> 1
This commit is contained in:
parent
5053058c32
commit
15cdfbc980
3 changed files with 1 additions and 3 deletions
|
@ -13,7 +13,7 @@ class NumberInput extends React.Component {
|
|||
}
|
||||
|
||||
static defaultProps = {
|
||||
rangeStep: 0.01
|
||||
rangeStep: 1
|
||||
}
|
||||
|
||||
constructor(props) {
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue