Skip to content

Commit

Permalink
Fixes cover opacity bug on mobile (#35792)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonis Lilis authored Oct 20, 2021
1 parent fed6b17 commit 87e55dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/cover/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ const Cover = ( {

const onSelectMedia = ( media ) => {
setDidUploadFail( false );
const onSelect = attributesFromMedia( setAttributes );
const onSelect = attributesFromMedia( setAttributes, dimRatio );
onSelect( media );
};

Expand Down

0 comments on commit 87e55dc

Please sign in to comment.