Skip to content

Commit 9564723

Browse files
committed
wrong change
1 parent bf5774f commit 9564723

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/textual/filter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,12 @@ def apply(self, segments: list[Segment], background: Color) -> list[Segment]:
202202
_Segment = Segment
203203
_dim_style = dim_style
204204
factor = self.dim_factor
205-
background_rich_color = background.rich_color
206205

207206
return [
208207
(
209208
_Segment(
210209
segment.text,
211-
_dim_style(segment.style, background_rich_color, factor),
210+
_dim_style(segment.style, background, factor),
212211
None,
213212
)
214213
if segment.style is not None and segment.style.dim

0 commit comments

Comments
 (0)