Skip to content

Commit 71ea907

Browse files
committed
snapshot
1 parent c40c265 commit 71ea907

File tree

2 files changed

+60
-60
lines changed

2 files changed

+60
-60
lines changed

src/textual/color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,10 +413,10 @@ def tint(self, color: Color) -> Color:
413413
"""
414414
r2, g2, b2, a2, ansi2 = color
415415
if ansi2 is not None:
416-
return color
416+
return self
417417
r1, g1, b1, a1, ansi1 = self
418418
if ansi1 is not None:
419-
return color
419+
return self
420420
return Color(
421421
int(r1 + (r2 - r1) * a2),
422422
int(g1 + (g2 - g1) * a2),

0 commit comments

Comments
 (0)