We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae45977 commit 06d7750Copy full SHA for 06d7750
SharpMath/Presentation/Canvas2D.cs
@@ -207,7 +207,7 @@ private void DrawFeatures(Graphics g)
207
if (!ValueIndicator)
208
return;
209
210
- var currentX = (GridOrigin.X - _previousLocation.X)/GridSize.Width;
+ var currentX = (_previousLocation.X - GridOrigin.X)/GridSize.Width;
211
var currentY = (GridOrigin.Y - _previousLocation.Y)/GridSize.Height;
212
213
var resultString = $"{Math.Round(currentX, 2)} | {Math.Round(currentY, 2)}";
@@ -289,4 +289,4 @@ private void HandleMouseUp(object sender, MouseEventArgs e)
289
_isMouseDown = false;
290
}
291
292
-}
+}
0 commit comments