remove total region update

This commit is contained in:
Will McGugan
2023-05-12 15:45:25 +02:00
parent 9a134b4920
commit 47970dd622

View File

@@ -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),)