Fix bug with selection where coming back to calc would crash

master
Tanner Collin 7 years ago
parent 7969b3becf
commit 1ba52e3a20
  1. 5
      src/components/resistor.js

@ -36,7 +36,10 @@ class Resistor extends Component {
this.state = {
borderWidth: 1,
selection: this.findEnd(),
selection: {
start: 0,
end: 0,
}
}
}

Loading…
Cancel
Save