프로젝트

일반

사용자정보

개정판 873011c4

ID873011c45de2dc9166fab8ef8a85a0fa394a0d84
상위 47048310
하위 37eadd3f

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

Fix: Undo/Redo 수정 진행

Change-Id: I3392d0ebc877626804a7c5d139d0b31a1942df7d

차이점 보기:

KCOM/Common/SelectionSet.cs
152 152
                                    var vUndoBeforeTargetItem =
153 153
                                        ViewerDataModel.Instance.UndoDataList.ToList().OrderBy(x => x.EventTime).LastOrDefault();
154 154

  
155
                                    if (vUndoBeforeTargetItem != null && vUndoBeforeTargetItem.Event == Event_Type.Thumb)
155
                                    if (vUndoBeforeTargetItem != null && vUndoBeforeTargetItem.Event == EventType.Operation)
156 156
                                    {
157 157

  
158 158
                                    }
159 159
                                    else
160 160
                                    {
161
                                        MarkupToPDF.Common.Undo_data UndoData = new Undo_data()
161
                                        MarkupToPDF.Common.UndoDataGroup UndoData = new UndoDataGroup()
162 162
                                        {
163 163
                                            IsUndo = false,
164
                                            Event = Event_Type.Create,
164
                                            Event = EventType.Create,
165 165
                                            EventTime = DateTime.Now,
166
                                            Markup_List = new List<Multi_Undo_data>()
166
                                            MarkupDataColl = new List<Multi_UndoData>()
167 167
                                        };
168 168

  
169
                                        var multi_Undo_Data = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.Control_Style(control);
170
                                        UndoData.Markup_List.Add(multi_Undo_Data);
169
                                        var multi_UndoData = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.Control_Style(control);
170
                                        UndoData.MarkupDataColl.Add(multi_UndoData);
171 171
                                        ViewerDataModel.Instance.UndoDataList.Add(UndoData);
172 172
                                    }
173 173
                                    Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.UpdateMyMarkupList();

내보내기 Unified diff

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