Skip to content

Commit 62d7b64

Browse files
authored
Reduce the contrast of inactive title bar text (WinMerge#2545)
1 parent 4cd5fea commit 62d7b64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/TitleBarHelper.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ COLORREF CTitleBarHelper::GetTextColor(bool bActive)
314314
{
315315
const COLORREF clr = GetBackColor(false);
316316
if (GetRValue(clr) < 128 && GetGValue(clr) < 128 && GetBValue(clr) < 128)
317-
return RGB(245, 245, 245);
318-
return RGB(10, 10, 10);
317+
return RGB(191, 191, 191);
318+
return RGB(64, 64, 64);
319319
}
320320
const COLORREF czclr = CAccentColor::Get().GetAccentColor();
321321
if (czclr != CLR_NONE)

0 commit comments

Comments
 (0)