feat: 🎸 MPR UI improvements. Added MinIP, AvgIP, slab thickness slider and mode toggle (#947)

This commit is contained in:
ladeirarodolfo authored and Erik Ziegler committed 2019-10-01 10:06:56 +02:00
1 parent ff5060f276
commit c79c0c301d
13 files changed
+389 -35

No files matched your search

+3 -2
View File
@@ -11,8 +11,9 @@ class Select extends Component {
}
handleChange = event => {
this.setState({ value: event.target.value });
if (this.props.onChange) this.props.onChange();
const value = event.target.value;
this.setState({ value });
if (this.props.onChange) this.props.onChange(value);
};
render() {