mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
remove total region update
This commit is contained in:
@@ -603,11 +603,11 @@ class Compositor:
|
|||||||
if fixed:
|
if fixed:
|
||||||
widget_region = sub_region + placement_offset
|
widget_region = sub_region + placement_offset
|
||||||
else:
|
else:
|
||||||
total_region = total_region.union(
|
# total_region = total_region.union(
|
||||||
sub_region.grow(
|
# sub_region.grow(
|
||||||
margin if layer_index else margin + scroll_spacing
|
# margin if layer_index else margin + scroll_spacing
|
||||||
)
|
# )
|
||||||
)
|
# )
|
||||||
widget_region = sub_region + placement_scroll_offset
|
widget_region = sub_region + placement_scroll_offset
|
||||||
|
|
||||||
widget_order = order + ((layer_index, z, layer_order),)
|
widget_order = order + ((layer_index, z, layer_order),)
|
||||||
|
|||||||
Reference in New Issue
Block a user