Skip to content

Commit f263cf8

Browse files
committed
Don't need value check as it's always reset
1 parent b7c086d commit f263cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/block-editor/src/components/global-styles/background-panel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ function BackgroundSizeToolsPanelItem( {
450450
* when the toggle switches to "Tile". This is to increase the chance that
451451
* the image's focus point is visible.
452452
*/
453-
if ( !! style?.background?.backgroundImage?.id && ! nextPosition ) {
453+
if ( !! style?.background?.backgroundImage?.id ) {
454454
nextPosition = '50% 0';
455455
}
456456
}

0 commit comments

Comments
 (0)