Skip to content

Commit

Permalink
Forgot to port over this condition, which wipes unnecessary repeat on…
Browse files Browse the repository at this point in the history
… cover
  • Loading branch information
ramonjd committed Mar 26, 2024
1 parent 57dd8a9 commit e29f5be
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ function BackgroundSizeToolsPanelItem( {
nextRepeat = 'no-repeat';
}

if ( next === 'cover' ) {
nextRepeat = undefined;
}

if (
( currentValueForToggle === 'cover' ||
currentValueForToggle === 'contain' ) &&
Expand Down

0 comments on commit e29f5be

Please sign in to comment.