Fix bug with selection where coming back to calc would crash

This commit is contained in:
Tanner Collin 2017-02-07 23:15:38 -07:00
parent 7969b3becf
commit 1ba52e3a20

View File

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