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