mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 00:20:00 +00:00
Make range step configurable
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user