We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 260069d commit a35d48aCopy full SHA for a35d48a
src/textual/scrollbar.py
@@ -286,8 +286,9 @@ def render(self) -> RenderableType:
286
else:
287
background = styles.scrollbar_background
288
color = styles.scrollbar_color
289
- base_background, _ = self.parent._opacity_background_colors
290
- background = base_background + background
+ if background.a > 0:
+ base_background, _ = self.parent._opacity_background_colors
291
+ background = base_background + background
292
color = background + color
293
scrollbar_style = Style.from_color(color.rich_color, background.rich_color)
294
if self.screen.styles.scrollbar_color.a == 0:
0 commit comments