remote test code

This commit is contained in:
Will McGugan
2023-02-18 15:02:14 +00:00
parent 040e8c941a
commit f94f6e4ba4

View File

@@ -378,17 +378,3 @@ class ScrollBarCorner(Widget):
styles = self.parent.styles
color = styles.scrollbar_corner_color
return Blank(color)
if __name__ == "__main__":
from rich import print
from rich.console import Console
console = Console()
scrollbar = ScrollBar()
scrollbar.window_virtual_size = 100
scrollbar.window_size = 10
scrollbar.position = 95
style = Style.parse("magenta on #333333")
console.print(scrollbar._render_bar(style), height=10)