Skip to content

Commit

Permalink
fixing setPaddingStrategy elementsToRerender (#6427)
Browse files Browse the repository at this point in the history
This PR sets the elementsToRerender value in the setPaddingStrategy
  • Loading branch information
balazsbajorics authored Oct 1, 2024
1 parent 0e797f8 commit aa7955e
Showing 1 changed file with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
}

Expand Down Expand Up @@ -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,
)
}

Expand Down Expand Up @@ -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,
)
},
}
Expand Down

0 comments on commit aa7955e

Please sign in to comment.