Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Fix focal point getting lost after enabling Fixed bg
Browse files Browse the repository at this point in the history
  • Loading branch information
albarin committed May 16, 2022
1 parent 415dc68 commit 6b59457
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions assets/js/blocks/featured-product/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,6 @@ const FeaturedProduct = ( {
onChange={ () => {
setAttributes( {
hasParallax: ! hasParallax,
...( ! hasParallax
? { focalPoint: undefined }
: {} ),
} );
} }
/>
Expand Down

0 comments on commit 6b59457

Please sign in to comment.