mirror of
https://github.com/maputnik/editor.git
synced 2026-02-06 20:50:12 +00:00
Changed default of step 0.01 -> 1
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user