Skip to content

Commit

Permalink
Merge branch 'master' into abyssal-xml
Browse files Browse the repository at this point in the history
  • Loading branch information
m-sasha authored Dec 25, 2023
2 parents f633314 + 59dcead commit 6ed34be
Show file tree
Hide file tree
Showing 2 changed files with 456 additions and 443 deletions.
5 changes: 4 additions & 1 deletion gui/builtinItemStatsViews/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ def __init__(self, parent, ID, pos=wx.DefaultPosition, size=wx.DefaultSize, styl
wx.ListCtrl.__init__(self, parent, ID, pos, size, style)
listmix.ListCtrlAutoWidthMixin.__init__(self)
listmix.ListRowHighlighter.__init__(self)

if wx.SystemSettings.GetAppearance().IsDark():
listcol = wx.SystemSettings.GetColour(wx.SYS_COLOUR_LISTBOX)
highlight = listcol.ChangeLightness(110)
listmix.ListRowHighlighter.SetHighlightColor(self, highlight)

class AutoListCtrlNoHighlight(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ListRowHighlighter):
def __init__(self, parent, ID, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0):
Expand Down
Loading

0 comments on commit 6ed34be

Please sign in to comment.