From 1491846b4736bc2e79604086acfd8544aa3ba384 Mon Sep 17 00:00:00 2001 From: wells.liu <wells.liu@broconcentric.com> Date: 星期一, 07 九月 2020 12:09:46 +0800 Subject: [PATCH] Merge branch 'master' of http://gitblit.broconcentric.com:8088/r/M071 --- src/Bro.UI.Model.Winform/Element/CrossHair.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bro.UI.Model.Winform/Element/CrossHair.cs b/src/Bro.UI.Model.Winform/Element/CrossHair.cs index ec2749f..c38a119 100644 --- a/src/Bro.UI.Model.Winform/Element/CrossHair.cs +++ b/src/Bro.UI.Model.Winform/Element/CrossHair.cs @@ -125,7 +125,7 @@ if (IsShowRemark) { string info = Index.ToString() + ":(" + CenterPoint.X.ToString() + ";" + CenterPoint.Y.ToString() + ")"; - g.DrawString(info, new Font("NewRoman", FontSize), new SolidBrush(Pen.Color), new PointF((float)CenterPoint.U + FontDistance, (float)CenterPoint.V + FontDistance)); + g.DrawString(info, Font, new SolidBrush(Pen.Color), new PointF((float)CenterPoint.U + FontDistance, (float)CenterPoint.V + FontDistance)); } } @@ -148,7 +148,7 @@ return rect.IntersectsWith(BaseRectangle); } - public override void CalculateBaseRectangle() + public void CalculateBaseRectangle() { BaseRectangle = new Rectangle(new Point((int)CenterPoint.U - HalfLength, (int)CenterPoint.V - HalfLength), new Size(HalfLength * 2, HalfLength * 2)); } -- Gitblit v1.8.0