kopia lustrzana https://github.com/OpenDroneMap/WebODM
Elevation layer units update works
rodzic
57ccd23234
commit
35fc60aa2c
|
@ -263,7 +263,10 @@ export default class Histogram extends React.Component {
|
||||||
|
|
||||||
handleUnitSystemChanged = e => {
|
handleUnitSystemChanged = e => {
|
||||||
this.redraw();
|
this.redraw();
|
||||||
this.forceUpdate();
|
this.setState({
|
||||||
|
minInput: this.props.unitForward(this.state.min).toFixed(3),
|
||||||
|
maxInput: this.props.unitForward(this.state.max).toFixed(3)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidUpdate(prevProps, prevState){
|
componentDidUpdate(prevProps, prevState){
|
||||||
|
|
Ładowanie…
Reference in New Issue