コード例 #1
0
        private void ClearLeftMouseStates()
        {
            _startCursorDrag      = false;
            _startSelectionDrag   = false;
            _startBoolDrawColumn  = string.Empty;
            _startFloatDrawColumn = string.Empty;
            TasView.ReleaseCurrentCell();
            // Exit float editing if value was changed with cursor
            if (_floatEditRow != -1 && _floatPaintState != CurrentTasMovie.GetFloatState(_floatEditRow, _floatEditColumn))
            {
                _floatEditRow = -1;
                RefreshDialog();
            }
            _floatPaintState = 0;
            _floatEditYPos   = -1;
            _leftButtonHeld  = false;

            if (_floatEditRow == -1 && CurrentTasMovie.ChangeLog != null)
            {
                CurrentTasMovie.ChangeLog.EndBatch();
            }
        }