프로젝트

일반

사용자정보

개정판 e1b36bc0

IDe1b36bc0efb056d5a5031e446a140716ceb97cd8
상위 d5c34b1d
하위 8118ba81

백흠경이(가) 5달 전에 추가함

Feature: Grouping 기능 추가(Ctrl+G : Group, Ctrl+Shift+G : Ungroup)

Change-Id: I99a3309acd55799ff7101522feaa035225b80e48

차이점 보기:

KCOM/Events/Event_KeyEvent.cs
215 215
                        }
216 216
                    }
217 217
                    break;
218
                #endregion
218
                    #endregion
219
                case Key.G:
220
                    {
221
                        #region Grouping 해제
222
                        if (ViewerDataModel.Instance.IsPressCtrl && ViewerDataModel.Instance.IsPressShift)
223
                        {
224
                            SelectionSet.Instance.SelectedItems.ForEach(x => x.GroupID = string.Empty);
225
                        }
226
                        #endregion
227
                        #region Grouping
228
                        else if (ViewerDataModel.Instance.IsPressCtrl)
229
                        {
230
                            string GroupID = Guid.NewGuid().ToString();
231
                            SelectionSet.Instance.SelectedItems.ForEach(x => x.GroupID = GroupID);
232
                        }
233
                        #endregion
234
                    }
235
                    break;
219 236

  
220 237
                #region Undo(Ctrl + Z)
221
                case Key.Z:
238
                    case Key.Z:
222 239
                    {
223 240
                        if (ViewerDataModel.Instance.IsPressCtrl) UndoCommand.Instance.Execute();
224 241
                    }

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)