개정판 ab7fe8c0
Fix: Sign, Image Control에서 AxisLock이 설정되어 있으면 혹은 Shift Key를 누르면 크기를 정비율로 수정되도록 수정
Change-Id: I2f4b32afd4792e40bc896de780751c4680c9deee
KCOM/Controls/AdornerFinal.xaml.cs | ||
---|---|---|
188 | 188 |
} |
189 | 189 |
} |
190 | 190 |
|
191 |
|
|
192 | 191 |
public bool IsTextAngle = false; |
193 | 192 |
public Rect BorderSize { get; set; } |
194 | 193 |
public bool TextCompensation = false; |
... | ... | |
544 | 543 |
} |
545 | 544 |
BorderUpdate(); |
546 | 545 |
|
547 |
if (Common.ViewerDataModel.Instance.MarkupControls_USER.Contains(member)) Common.ViewerDataModel.Instance.MarkupControls_USER.Remove(member); |
|
546 |
if (Common.ViewerDataModel.Instance.MarkupControls_USER.Contains(member)) |
|
547 |
Common.ViewerDataModel.Instance.MarkupControls_USER.Remove(member); |
|
548 | 548 |
} |
549 | 549 |
|
550 | 550 |
private void ViewBoxRotate(UIElement member) |
... | ... | |
672 | 672 |
RegistryPoint(member, members.Count); |
673 | 673 |
} |
674 | 674 |
|
675 |
if (Common.ViewerDataModel.Instance.MarkupControls_USER.Contains(member)) Common.ViewerDataModel.Instance.MarkupControls_USER.Remove(member); /// remove commment from mycontrols |
|
675 |
if (Common.ViewerDataModel.Instance.MarkupControls_USER.Contains(member)) |
|
676 |
Common.ViewerDataModel.Instance.MarkupControls_USER.Remove(member); /// remove commment from mycontrols |
|
676 | 677 |
} |
677 | 678 |
|
678 | 679 |
BorderUpdate(); |
... | ... | |
1120 | 1121 |
} |
1121 | 1122 |
|
1122 | 1123 |
|
1124 |
/// <summary> |
|
1125 |
/// 제어점을 조정하여 크기를 수정한다. |
|
1126 |
/// </summary> |
|
1127 |
/// <param name="sender"></param> |
|
1128 |
/// <param name="e"></param> |
|
1123 | 1129 |
private void ResizeTm_DragDelta(object sender, DragDeltaEventArgs e) |
1124 | 1130 |
{ |
1125 | 1131 |
if (sender.GetType() != typeof(MyThumb)) return; |
... | ... | |
1487 | 1493 |
/// save rotatePoint |
1488 | 1494 |
this.rotatePoint = pt; |
1489 | 1495 |
|
1496 |
|
|
1490 | 1497 |
Dispatcher.BeginInvoke((Action)(() => |
1491 | 1498 |
{ |
1492 | 1499 |
foreach (var member in this.Members) |
... | ... | |
1501 | 1508 |
DragThumb.RenderTransformOrigin = new Point(0, 0); |
1502 | 1509 |
DragThumb.RenderTransform = new RotateTransform() |
1503 | 1510 |
{ |
1504 |
|
|
1505 | 1511 |
Angle = (member.DrawingData as CommentUserInfo).CommentAngle |
1506 | 1512 |
}; |
1507 | 1513 |
|
내보내기 Unified diff