Skip to content

Commit

Permalink
Set proper gradient backgrounds for the chooser (#15035)
Browse files Browse the repository at this point in the history
  • Loading branch information
sangwoo108 authored Sep 8, 2022
1 parent b464532 commit 45951ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class BackgroundImageSettings extends React.PureComponent<Props, State> {
{this.state.location === Location.GRADIENT_COLORS &&
<BackgroundChooser
title={getLocale('gradientColorTitle')}
backgrounds={solidColorsForBackground}
backgrounds={gradientColorsForBackground}
currentValue={selectedBackgroundColor}
usingRandomColor={usingGradientBackground && usingRandomColor}
onToggleRandomColor={on => this.props.setColorBackground(on ? 'gradient' : (selectedBackgroundColor ?? defaultGradientColor), on)}
Expand Down

0 comments on commit 45951ab

Please sign in to comment.