개정판 a36a37c3
issue #923: create PreviewUserMarkupInfoItem if there is no markupinfo or all of markupinfo are avoided
Change-Id: I541878f97686be22a3634baf991d3d98653faa28
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
1232 | 1232 |
} |
1233 | 1233 |
|
1234 | 1234 |
getCurrentPoint = e.GetPosition(drawingRotateCanvas); |
1235 |
#region 주석 |
|
1236 |
//if (mouseButtonDown == MouseButton.Middle) |
|
1237 |
//{ |
|
1238 |
// SetCursor(); |
|
1239 |
// Point currentCanvasDrawingMouseMovePoint = e.GetPosition(drawingRotateCanvas); |
|
1240 |
// Point currentCanvasZoomPanningMouseMovePoint = e.GetPosition(zoomAndPanCanvas); |
|
1241 |
|
|
1242 |
// Vector dragOffset = currentCanvasZoomPanningMouseMovePoint - canvasZoommovingMouseDownPoint; |
|
1243 |
// zoomAndPanControl.ContentOffsetX -= dragOffset.X; |
|
1244 |
// zoomAndPanControl.ContentOffsetY -= dragOffset.Y; |
|
1245 |
|
|
1246 |
// //SetCursor(); |
|
1247 |
// //Point currentCanvasDrawingMouseMovePoint = e.GetPosition(drawingRotateCanvas); |
|
1248 |
// //Point currentCanvasZoomPanningMouseMovePoint = e.GetPosition(zoomAndPanCanvas); |
|
1249 |
|
|
1250 |
// //Vector dragOffset = currentCanvasZoomPanningMouseMovePoint - canvasZoommovingMouseDownPoint; |
|
1251 |
|
|
1252 |
// //zoomAndPanControl.ContentOffsetX += 1; |
|
1253 |
// //zoomAndPanControl.ContentOffsetY += 1; |
|
1254 |
|
|
1255 |
// //zoomAndPanControl.ContentOffsetX += dragOffset.X; |
|
1256 |
// //zoomAndPanControl.ContentOffsetY += dragOffset.Y; |
|
1257 |
//} |
|
1258 |
#endregion |
|
1259 |
|
|
1235 |
|
|
1260 | 1236 |
if ((e.MiddleButton == MouseButtonState.Pressed) || (e.RightButton == MouseButtonState.Pressed)) |
1261 | 1237 |
{ |
1262 | 1238 |
SetCursor(); |
내보내기 Unified diff