From e2a8688581ee04fb86be1b36392fb12bc644357d Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Mon, 1 Apr 2024 12:16:25 +0200 Subject: [PATCH] UI Tweaks --- app/Fans.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Fans.cs b/app/Fans.cs index 85038f16..0cf408cb 100644 --- a/app/Fans.cs +++ b/app/Fans.cs @@ -1261,7 +1261,7 @@ namespace GHelper labelTip.Text = Math.Floor(curPoint.XValue) + "C, " + ChartYLabel((int)curPoint.YValues[0], device, " " + Properties.Strings.RPM); labelTip.Top = e.Y + ((Control)sender).Top; - labelTip.Left = e.X - 50; + labelTip.Left = Math.Min(chart.Width - labelTip.Width - 20, e.X - 50); } catch