개정판 873011c4
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