개정판 105359ce
issue #546 Markup List 동기화(복사 붙여넣기 시 point move)
Change-Id: I9ce36bdb54a6b96af8610fa9fefd35fca7b54bc4
KCOM/Controls/AdornerFinal.xaml.cs | ||
---|---|---|
5 | 5 |
using MarkupToPDF.Controls.Common; |
6 | 6 |
using MarkupToPDF.Controls.Etc; |
7 | 7 |
using MarkupToPDF.Controls.Line; |
8 |
using MarkupToPDF.Controls.Parsing; |
|
8 | 9 |
using MarkupToPDF.Controls.Polygon; |
9 | 10 |
using MarkupToPDF.Controls.Shape; |
10 | 11 |
using MarkupToPDF.Controls.Text; |
... | ... | |
1164 | 1165 |
Point delta = MathSet.RotateAbout(new Point(0, 0), new Point(dx, dy), -rotation); |
1165 | 1166 |
/// up to here |
1166 | 1167 |
(item.DrawingData as CommentUserInfo).OnTranslate(delta.X, delta.Y); |
1168 |
|
|
1169 |
ViewerDataModel.Instance.SystemMain.dzMainMenu.pageNavigator.MarkupListUpdate( |
|
1170 |
MarkupParser.MarkupToString((item.DrawingData as CommentUserInfo), App.ViewInfo.UserID), Event_Type.Thumb, null, null); |
|
1171 |
|
|
1167 | 1172 |
item.UpdateThumb(); |
1168 | 1173 |
} |
1169 | 1174 |
|
KCOM/Events/PasteCommand.cs | ||
---|---|---|
117 | 117 |
final.TranslateItems(diff.X, diff.Y); |
118 | 118 |
|
119 | 119 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.SelectLayer.Children.Add(final); |
120 |
|
|
120 | 121 |
} |
121 | 122 |
/// 외부 이미지 붙여넣기 |
122 | 123 |
else if (Clipboard.GetImage() != null) |
내보내기 Unified diff