개정판 fa48eb85
issue #1000 컨트롤 angle 수정/ Textcontrol 텍스트 선택 수정
Change-Id: I56b5c6295adb7409774045545f30f16a920be96c
KCOM/Events/UndoCommand.cs | ||
---|---|---|
79 | 79 |
|
80 | 80 |
if (comment is ArrowTextControl) |
81 | 81 |
{ |
82 |
multi_Undo_Data.Angle = dAngle = (comment as ArrowTextControl).Angle; |
|
82 |
multi_Undo_Data.Angle = dAngle = (comment as ArrowTextControl).CommentAngle;
|
|
83 | 83 |
} |
84 | 84 |
else |
85 | 85 |
{ |
... | ... | |
144 | 144 |
|
145 | 145 |
if ((item.Markup as IViewBox) != null) |
146 | 146 |
{ |
147 |
(item.Markup as IViewBox).Angle = item.Angle; |
|
147 |
(item.Markup as IViewBox).CommentAngle = item.Angle;
|
|
148 | 148 |
} |
149 | 149 |
if ((item.Markup as TextControl) != null) |
150 | 150 |
{ |
151 |
(item.Markup as TextControl).Angle = item.Angle; |
|
151 |
(item.Markup as TextControl).CommentAngle = item.Angle;
|
|
152 | 152 |
Canvas.SetLeft((item.Markup as TextControl), item.PointSet[0].X); |
153 | 153 |
Canvas.SetTop((item.Markup as TextControl), item.PointSet[0].Y); |
154 | 154 |
} |
내보내기 Unified diff