Make range step configurable

This commit is contained in:
orangemug
2018-11-01 08:28:49 +00:00
parent a51fdb8435
commit fe0df2a4ef
3 changed files with 9 additions and 1 deletions

View File

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

View File

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