diff --git a/src/textual/widget.py b/src/textual/widget.py index 68c88b0f39..96144b2df0 100644 --- a/src/textual/widget.py +++ b/src/textual/widget.py @@ -4206,7 +4206,7 @@ def render_line(self, y: int) -> Strip: Returns: A rendered line. """ - if self.BLANK: + if self.BLANK is True: return Strip.blank(self.size.width, self.visual_style.rich_style) if self._dirty_regions: @@ -4227,7 +4227,7 @@ def render_lines(self, crop: Region) -> list[Strip]: Returns: A list of list of segments. """ - if self.BLANK: + if self.BLANK is True: strips = [ Strip.blank(crop.width, self.visual_style.rich_style) ] * crop.height