From 622b474817086a5876fc168f9d818a3a0d51edc9 Mon Sep 17 00:00:00 2001 From: Bob Long Date: Wed, 7 Sep 2022 11:47:54 -0400 Subject: [PATCH] Fix link stats linkLabel for light themes --- Controls/ConnectionControl.Designer.cs | 1 - Utilities/ThemeManager.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Controls/ConnectionControl.Designer.cs b/Controls/ConnectionControl.Designer.cs index d8780fb6c8..05282d3dfd 100644 --- a/Controls/ConnectionControl.Designer.cs +++ b/Controls/ConnectionControl.Designer.cs @@ -75,7 +75,6 @@ private void InitializeComponent() // resources.ApplyResources(this.linkLabel1, "linkLabel1"); this.linkLabel1.BackColor = System.Drawing.Color.Transparent; - this.linkLabel1.Image = global::MissionPlanner.Properties.Resources.bgdark; this.linkLabel1.LinkColor = System.Drawing.Color.White; this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.TabStop = true; diff --git a/Utilities/ThemeManager.cs b/Utilities/ThemeManager.cs index 8161850813..fe57b6080a 100644 --- a/Utilities/ThemeManager.cs +++ b/Utilities/ThemeManager.cs @@ -1325,7 +1325,7 @@ private static void ApplyTheme(Control temp, int level) } else if (ctl.GetType() == typeof(LinkLabel)) { - ctl.BackColor = BGColor; + ctl.BackColor = System.Drawing.Color.Transparent; ctl.ForeColor = TextColor; LinkLabel LNK = (LinkLabel)ctl; LNK.ActiveLinkColor = TextColor;