From a200a614813f44b8e86bd9e937f78510e093252f Mon Sep 17 00:00:00 2001 From: niksedk Date: Fri, 8 Sep 2023 06:32:43 +0200 Subject: [PATCH] Minor fix for toolbar overflow text color --- src/ui/Logic/DarkTheme.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ui/Logic/DarkTheme.cs b/src/ui/Logic/DarkTheme.cs index 07866ef35..5b60dec3f 100644 --- a/src/ui/Logic/DarkTheme.cs +++ b/src/ui/Logic/DarkTheme.cs @@ -839,6 +839,12 @@ namespace Nikse.SubtitleEdit.Logic e.Graphics.Clear(BackColor); } + protected override void OnRenderItemText(ToolStripItemTextRenderEventArgs e) + { + e.TextColor = ForeColor; + base.OnRenderItemText(e); + } + protected override void OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs e) { e.Graphics.Clear(BackColor);