File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " textual-dev"
3- version = " 1.1 .0"
3+ version = " 1.2 .0"
44homepage = " https://github.com/Textualize/textual-dev"
55description = " Development tools for working with Textual"
66authors = [" Will McGugan <will@textualize.io>" , " Dave Pearson <dave@textualize.io>" ]
@@ -28,7 +28,7 @@ include = [
2828
2929[tool .poetry .dependencies ]
3030python = " ^3.7"
31- textual = " >=0.32 .0"
31+ textual = " >=0.33 .0"
3232aiohttp = " >=3.8.1"
3333click = " >=8.1.2"
3434msgpack = " >=1.0.3"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class ColorsView(VerticalScroll):
3232 pass
3333
3434
35- class ColorTabs (TabbedContent , inherit_css = False ):
35+ class ColorTabs (TabbedContent ):
3636 pass
3737
3838
@@ -85,9 +85,10 @@ def compose(self) -> ComposeResult:
8585 def on_mount (self ) -> None :
8686 self .call_after_refresh (self .update_view )
8787
88- def update_view (self ) -> None :
88+ async def update_view (self ) -> None :
8989 content = self .query_one ("#theme" , Content )
90- content .mount (ThemeColorsView ())
90+ await content .mount (ThemeColorsView ())
91+
9192
9293 def on_button_pressed (self , event : Button .Pressed ) -> None :
9394 self .query (ColorGroup ).remove_class ("-active" )
You can’t perform that action at this time.
0 commit comments