endTrans method

void endTrans()

Implementation

void endTrans() {
  if (canUndo) {
    if (_history.last.transState != TransState.start) {
      _history.last.transState = TransState.end;
    }
  }
  transState = TransState.none;
}