Skip to content

Commit

Permalink
Remove broken custom text color selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Davies committed Dec 16, 2019
1 parent 9b4d704 commit 5b7e86b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/group/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function GroupEdit( {
let colorSettings;

if ( ! backgroundColor.name && ! backgroundColor.class ) {
const textContrastColor = textColor && textColor.color ? textColor.color : getTextContrast( backgroundColor.color );
const textContrastColor = getTextContrast( backgroundColor.color );
setTextColor( textContrastColor );
colorSettings = [
{
Expand Down

0 comments on commit 5b7e86b

Please sign in to comment.