개정판 1a7a7e62
issue #000: TriControl 이전 테스트 코드 revert
Change-Id: I73d8cf87b7f9668969830a6c4bbb5b8564002b4a
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
2902 | 2902 |
if (e.LeftButton == MouseButtonState.Pressed) |
2903 | 2903 |
{ |
2904 | 2904 |
CanvasDrawingMouseDownPoint = e.GetPosition(drawingRotateCanvas); |
2905 |
Point point = e.GetPosition(zoomAndPanCanvas); |
|
2906 |
canvasZoomPanningMouseDownPoint = new Point(point.X - 99, point.Y - 99); |
|
2905 |
canvasZoomPanningMouseDownPoint = e.GetPosition(zoomAndPanCanvas); |
|
2907 | 2906 |
this.cursor = new Cursor(App.DefaultArrowCursorStream); |
2908 | 2907 |
SetCursor(); |
2909 | 2908 |
|
... | ... | |
3459 | 3458 |
{ |
3460 | 3459 |
currentControl = new TriControl |
3461 | 3460 |
{ |
3462 |
StartPoint = new Point(CanvasDrawingMouseDownPoint.X - 100, CanvasDrawingMouseDownPoint.Y-100),
|
|
3461 |
StartPoint = new Point(CanvasDrawingMouseDownPoint.X, CanvasDrawingMouseDownPoint.Y),
|
|
3463 | 3462 |
Background = new SolidColorBrush(Colors.Black), |
3464 | 3463 |
}; |
3465 | 3464 |
|
내보내기 Unified diff