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:
|
||||
widget_region = sub_region + placement_offset
|
||||
else:
|
||||
total_region = total_region.union(
|
||||
sub_region.grow(
|
||||
margin if layer_index else margin + scroll_spacing
|
||||
)
|
||||
)
|
||||
# total_region = total_region.union(
|
||||
# sub_region.grow(
|
||||
# margin if layer_index else margin + scroll_spacing
|
||||
# )
|
||||
# )
|
||||
widget_region = sub_region + placement_scroll_offset
|
||||
|
||||
widget_order = order + ((layer_index, z, layer_order),)
|
||||
|
||||
Reference in New Issue
Block a user