Skip to content

Commit 14dcb6d

Browse files
committed
Darkblue highlighting in ListBox when high contrast is on
1 parent 6b6f863 commit 14dcb6d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

BasicPawn/Controls and Forms/Main/Classes/ClassAutocompleteListBox.vb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ Public Class ClassAutocompleteListBox
8181

8282
If (Me.SelectedIndex = e.Index) Then
8383
If (ClassControlStyle.m_IsInvertedColors) Then
84-
e.Graphics.FillRectangle(New SolidBrush(Color.DimGray), e.Bounds)
84+
'Darker Color.RoyalBlue. Orginal Color.RoyalBlue: Color.FromArgb(65, 105, 150)
85+
e.Graphics.FillRectangle(New SolidBrush(Color.FromArgb(36, 59, 127)), e.Bounds)
8586
Else
8687
e.Graphics.FillRectangle(New SolidBrush(Color.LightBlue), e.Bounds)
8788
End If
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)