mirror of
https://github.com/1j01/textual-paint.git
synced 2024-10-05 20:07:45 +03:00
Remove outdated comment
This commit is contained in:
parent
4ae90dcb11
commit
ccbd6cf5ce
@ -401,9 +401,6 @@ class PaintApp(App[None]):
|
||||
style = Style(color=self.image.fg[y][x], bgcolor=self.image.bg[y][x])
|
||||
assert style.color is not None
|
||||
assert style.bgcolor is not None
|
||||
# Why do I need these extra asserts here and not in Canvas.render_line
|
||||
# using pyright, even though hovering over the other place shows that it also considers
|
||||
# triplet to be ColorTriplet|None?
|
||||
assert style.color.triplet is not None
|
||||
assert style.bgcolor.triplet is not None
|
||||
# self.image.bg[y][x] = f"rgb({255 - style.bgcolor.triplet.red},{255 - style.bgcolor.triplet.green},{255 - style.bgcolor.triplet.blue})"
|
||||
|
Loading…
Reference in New Issue
Block a user