Skip to content

Commit

Permalink
Change the background attachment toggle label to "Fixed background" a…
Browse files Browse the repository at this point in the history
…nd flip the checked condition
  • Loading branch information
ramonjd committed Jul 8, 2024
1 parent 5f8ab60 commit e5a857c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,8 @@ function BackgroundSizeControls( {
onChange={ updateBackgroundPosition }
/>
<ToggleControl
label={ __( 'Scroll with page' ) }
checked={ attachmentValue !== 'fixed' }
label={ __( 'Fixed background' ) }
checked={ attachmentValue === 'fixed' }
onChange={ toggleScrollWithPage }
help={ __(
'Whether your image should scroll with the page or stay fixed in place.'
Expand Down

0 comments on commit e5a857c

Please sign in to comment.