diff --git a/src/SelectionHandler.tsx b/src/SelectionHandler.tsx index 6af882233..0e49a7e48 100644 --- a/src/SelectionHandler.tsx +++ b/src/SelectionHandler.tsx @@ -39,7 +39,7 @@ export default class SelectionHandler extends React.PureComponent; /** Only state is the selection range */ - state = { ...defaultSelection, aminoAcidShiftStart: null }; + state = { ...defaultSelection, aminoAcidShiftStart: null, prevAA: null }; /* previous base cursor is over, used in circular drag select */ previousBase: null | number = null; @@ -128,7 +128,7 @@ export default class SelectionHandler extends React.PureComponent