'End the current control point edit interaction.'

def __endControlPointEdit(self):

    handler = self.__scene.user_interaction_handler
    if (isinstance(handler, (interactions.ResizeArrowAnnotation, interactions.ResizeTextAnnotation)) and (not handler.isFinished()) and (not handler.isCanceled())):
        handler.commit()
        handler.end()
        log.info('Control    point    editing    finished.')
