Reverting a change to the order of how Selected is applied to themes

This commit is contained in:
Michael Lazar
2017-12-09 21:06:29 -05:00
parent 9dd05d2fb2
commit 38c3695603
7 changed files with 43 additions and 40 deletions

View File

@@ -102,7 +102,11 @@ def test_theme_element_selected_attributes():
# the ones defined in "Selected". Because "Selected" defines
# a foreground and a background color, they will override the
# ones that "Link" had defined.
assert theme.elements['@Link'] == (2, 3, curses.A_REVERSE)
# assert theme.elements['@Link'] == (2, 3, curses.A_REVERSE)
# I can't remember why the above rule was implemented, so I reverted it
assert theme.elements['@Link'] == (5, 3, curses.A_REVERSE)
assert '@Normal' not in theme.elements
assert '@Selected' not in theme.elements
assert '@TitleBar' not in theme.elements