Skip to content

Commit 5d422c6

Browse files
committed
Featured Cover: fixed resetAll to return image resolution to default value
1 parent 7ea45c1 commit 5d422c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/block-library/src/cover/edit/inspector-controls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ export default function CoverInspectorControls( {
198198
focalPoint: undefined,
199199
isRepeated: false,
200200
alt: '',
201-
sizeSlug: undefined,
202201
} );
202+
updateImage( DEFAULT_MEDIA_SIZE_SLUG );
203203
} }
204204
dropdownMenuProps={ dropdownMenuProps }
205205
>

0 commit comments

Comments
 (0)