mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
deprecated check_layout
This commit is contained in:
@@ -86,8 +86,8 @@ class View(Widget):
|
||||
def get_offset(self, widget: Widget) -> Offset:
|
||||
return self.layout.get_offset(widget)
|
||||
|
||||
def check_layout(self) -> bool:
|
||||
return super().check_layout() or self.layout.check_update()
|
||||
# def check_layout(self) -> bool:
|
||||
# return super().check_layout() or self.layout.check_update()
|
||||
|
||||
async def message_update(self, message: UpdateMessage) -> None:
|
||||
if self.is_root_view:
|
||||
|
||||
Reference in New Issue
Block a user