From 805e6d5f50a221ec50d4d2d7b0d95b4d511b814e Mon Sep 17 00:00:00 2001 From: rc-swag <58423624+rc-swag@users.noreply.github.com> Date: Fri, 7 Mar 2025 11:39:41 +1000 Subject: [PATCH] feat(windows): key cap hardcoded to KeyFontColor_Cap Fixes: #13106 --- common/windows/delphi/components/OnScreenKeyboard.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/windows/delphi/components/OnScreenKeyboard.pas b/common/windows/delphi/components/OnScreenKeyboard.pas index 4ebea02fff..e1caab4197 100644 --- a/common/windows/delphi/components/OnScreenKeyboard.pas +++ b/common/windows/delphi/components/OnScreenKeyboard.pas @@ -1418,7 +1418,7 @@ var // but this requires a file format change, so a much bigger scope if not Enabled then Font.Color := $808080 - else Font.Color := clLime; + else Font.Color := KeyFontColor_Cap; FKeyboard.FDrawChar.DisplayQuality := ctCleartype; FKeyboard.FDrawChar.Color := Font.Color;