Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Dendraspis committed Mar 7, 2021
1 parent 8bb82b5 commit 9080a85
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions UI/Controls/ListViewEx.vb
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,6 @@ Namespace UI
End Sub

Protected Overrides Sub OnDrawItem(e As DrawListViewItemEventArgs)
'MyBase.OnDrawItem(e)

e.DrawDefault = False
Dim flags = GetTextAlignment(0)
Dim fc = e.Item.ForeColor
Expand Down Expand Up @@ -226,7 +224,6 @@ Namespace UI
TextRenderer.DrawText(e.Graphics, e.Item.Text, e.Item.Font, rect, fc, flags)
End Sub


Protected Overrides Sub OnDrawSubItem(e As DrawListViewSubItemEventArgs)
Dim flags = GetTextAlignment(e.ColumnIndex)
Dim fc = If(e.Item.Selected, ForeSelectedColor, ForeColor)
Expand Down

0 comments on commit 9080a85

Please sign in to comment.