Change the default background of scrollbars.
- Also hacked the cursor row highlighting to not highlight the scrollbar. Highlighting the widget inside the view widget is much more difficult.
This commit is contained in:
parent
07ffb403f5
commit
dd0b763dab
4 changed files with 19 additions and 12 deletions
|
|
@ -74,7 +74,8 @@ class WidgetTests(unittest.TestCase):
|
|||
def assert_string2(self, appearance, expected_string):
|
||||
self.assertEqual(
|
||||
("\n".join(line.data for line in appearance),
|
||||
"".join("i" if style.fg_color==termstr.Color.black else " "
|
||||
"".join("i" if style.fg_color==
|
||||
fill3.ScrollBar.DEFAULT_BACKGROUND_COLOR else " "
|
||||
for line in appearance for style in line.style)),
|
||||
expected_string)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue