Skip to content

Commit

Permalink
Revert inherited style check
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed May 8, 2024
1 parent 00b579d commit 44e3119
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,7 @@ function BackgroundSizeToolsPanelItem( {
( currentValueForToggle === 'cover' && repeatValue === undefined )
);

const hasValue =
hasBackgroundSizeValue( inheritedValue ) ||
hasBackgroundSizeValue( style );
const hasValue = hasBackgroundSizeValue( style );

const resetAllFilter = useCallback( ( previousValue ) => {
return {
Expand Down

0 comments on commit 44e3119

Please sign in to comment.