mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-30 20:20:34 +01:00
Changed min/max zoom range step from 0.1 -> 1
This commit is contained in:
parent
fe0df2a4ef
commit
e18d304313
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ class MaxZoomBlock extends React.Component {
|
||||||
>
|
>
|
||||||
<NumberInput
|
<NumberInput
|
||||||
allowRange={true}
|
allowRange={true}
|
||||||
rangeStep={0.1}
|
rangeStep={1}
|
||||||
value={this.props.value}
|
value={this.props.value}
|
||||||
onChange={this.props.onChange}
|
onChange={this.props.onChange}
|
||||||
min={latest.layer.maxzoom.minimum}
|
min={latest.layer.maxzoom.minimum}
|
||||||
|
|
|
@ -17,7 +17,7 @@ class MinZoomBlock extends React.Component {
|
||||||
>
|
>
|
||||||
<NumberInput
|
<NumberInput
|
||||||
allowRange={true}
|
allowRange={true}
|
||||||
rangeStep={0.1}
|
rangeStep={1}
|
||||||
value={this.props.value}
|
value={this.props.value}
|
||||||
onChange={this.props.onChange}
|
onChange={this.props.onChange}
|
||||||
min={latest.layer.minzoom.minimum}
|
min={latest.layer.minzoom.minimum}
|
||||||
|
|
Loading…
Reference in a new issue