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