Skip to content

Commit 79b02ee

Browse files
committed
Fix border colour rendering on Windows in dark mode
Updated the border shadow colour logic to use pure black on Windows when in dark mode, while maintaining the previous system colour approach for other platforms Generated by CodeLite Signed-off-by: Eran Ifrah <eran@codelite.org>
1 parent fa488c7 commit 79b02ee

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Plugin/aui/clAuiFlatTabArt.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ wxColour GetBorderColour()
2222
{
2323
if (!kBorderShadow.IsOk()) {
2424
if (wxSystemSettings::GetAppearance().IsDark()) {
25+
#ifdef __WXMSW__
26+
kBorderShadow = *wxBLACK;
27+
#else
2528
kBorderShadow = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE);
29+
#endif
2630
} else {
2731
kBorderShadow = wxSystemSettings::GetColour(wxSYS_COLOUR_BTNSHADOW);
2832
}

TODO.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ AI-powered IDE:
2424
High:
2525
-----
2626

27-
- Add an option to show the prompt editor from the drop down menu from the chat-box.
28-
- Rename "Prompt Editor" -> "Prompt Store"
2927
- Replace the standard "find-in-files" tool with `grep` command (on all platforms) - this will allow it to run on remote files.
3028

3129
Low:

0 commit comments

Comments
 (0)