Fix bug with selection where coming back to calc would crash
This commit is contained in:
parent
7969b3becf
commit
1ba52e3a20
|
@ -36,7 +36,10 @@ class Resistor extends Component {
|
||||||
|
|
||||||
this.state = {
|
this.state = {
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
selection: this.findEnd(),
|
selection: {
|
||||||
|
start: 0,
|
||||||
|
end: 0,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user