diff --git a/editor/src/components/canvas/canvas-strategies/strategies/set-padding-strategy.tsx b/editor/src/components/canvas/canvas-strategies/strategies/set-padding-strategy.tsx index 01f65b4b22c2..bb69d4fc2a7c 100644 --- a/editor/src/components/canvas/canvas-strategies/strategies/set-padding-strategy.tsx +++ b/editor/src/components/canvas/canvas-strategies/strategies/set-padding-strategy.tsx @@ -270,10 +270,7 @@ export const setPaddingStrategy: CanvasStrategyFactory = (canvasState, interacti })), ), ], - // FIXME: This was added as a default value in https://github.com/concrete-utopia/utopia/pull/6408 - // This was to maintain the existing behaviour, but it should be replaced with a more specific value - // appropriate to this particular case. - 'rerender-all-elements', + selectedElements, ) } @@ -301,10 +298,7 @@ export const setPaddingStrategy: CanvasStrategyFactory = (canvasState, interacti })), ), ], - // FIXME: This was added as a default value in https://github.com/concrete-utopia/utopia/pull/6408 - // This was to maintain the existing behaviour, but it should be replaced with a more specific value - // appropriate to this particular case. - 'rerender-all-elements', + selectedElements, ) } @@ -334,10 +328,7 @@ export const setPaddingStrategy: CanvasStrategyFactory = (canvasState, interacti })), ), ], - // FIXME: This was added as a default value in https://github.com/concrete-utopia/utopia/pull/6408 - // This was to maintain the existing behaviour, but it should be replaced with a more specific value - // appropriate to this particular case. - 'rerender-all-elements', + selectedElements, ) }, }