size properties

This commit is contained in:
Will McGugan
2022-07-04 21:15:24 +01:00
parent d7f463f3eb
commit 0ba3ffb171
10 changed files with 23 additions and 23 deletions

View File

@@ -159,7 +159,7 @@ class AppTest(App):
# We artificially tell the Compositor that the whole area should be refreshed
screen._compositor._dirty_regions = {
Region(0, 0, screen.size.width, screen.size.height),
Region(0, 0, screen.outer_size.width, screen.outer_size.height),
}
screen.refresh(repaint=repaint, layout=layout)
# We also have to make sure we have at least one dirty widget, or `screen._on_update()` will early return: