개정판 ab7fe8c0
Fix: Sign, Image Control에서 AxisLock이 설정되어 있으면 혹은 Shift Key를 누르면 크기를 정비율로 수정되도록 수정
Change-Id: I2f4b32afd4792e40bc896de780751c4680c9deee
KCOM/Events/UndoCommand.cs | ||
---|---|---|
49 | 49 |
/// <param name="comments"></param> |
50 | 50 |
public void Push(ICollection<CommentUserInfo> comments, double dAngle) |
51 | 51 |
{ |
52 |
List<Point> p_set = new List<Point>(); |
|
53 |
|
|
54 | 52 |
Undo_data UndoData = new Undo_data() |
55 | 53 |
{ |
56 | 54 |
IsUndo = false, |
... | ... | |
64 | 62 |
foreach (var comment in comments) |
65 | 63 |
{ |
66 | 64 |
multi_Undo_Data.PointSet = new List<Point>(); |
67 |
p_set = new List<Point>(); |
|
65 |
var p_set = new List<Point>();
|
|
68 | 66 |
|
69 | 67 |
if (comment is TextControl) |
70 | 68 |
{ |
... | ... | |
109 | 107 |
AdornerFinal final; |
110 | 108 |
SelectionSet.Instance.UnSelect(Common.ViewerDataModel.Instance.SystemMain.dzMainMenu); |
111 | 109 |
|
112 |
Undo_data undo = ViewerDataModel.Instance.UndoDataList.Where(data => data.IsUndo == false).ToList().OrderByDescending(order => order.EventTime).FirstOrDefault(); |
|
110 |
Undo_data undo = ViewerDataModel.Instance.UndoDataList.Where(data => data.IsUndo == false).ToList() |
|
111 |
.OrderByDescending(order => order.EventTime).FirstOrDefault(); |
|
113 | 112 |
if (undo == null) return; |
114 | 113 |
|
115 | 114 |
switch (undo.Event) |
... | ... | |
254 | 253 |
} |
255 | 254 |
break; |
256 | 255 |
} |
257 |
ViewerDataModel.Instance.UndoDataList.Where(data => data.EventTime == undo.EventTime).ToList().OrderByDescending(order => order.EventTime).ToList().ForEach(i => |
|
256 |
ViewerDataModel.Instance.UndoDataList.Where(data => data.EventTime == undo.EventTime).ToList() |
|
257 |
.OrderByDescending(order => order.EventTime).ToList().ForEach(i => |
|
258 | 258 |
{ |
259 | 259 |
i.IsUndo = true; |
260 | 260 |
}); |
내보내기 Unified diff