Skip to content

Commit

Permalink
fix: font style active state (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dvir Hazout authored and OrenMe committed Oct 16, 2017
1 parent a0fb362 commit 96c4a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cvaa-overlay/cvaa-overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class CVAAOverlay extends BaseComponent {
var fontStyleOptions = Object.keys(edgeStyles).map(key => ({
value: edgeStyles[key],
label: key.charAt(0).toUpperCase() + key.toLowerCase().slice(1),
active: this.state.customTextStyle.fontEdge == key
active: this.state.customTextStyle.fontEdge == edgeStyles[key]
}));

var backgroundColorOptions = Object.keys(standardColors).map(key => ({
Expand Down

0 comments on commit 96c4a82

Please sign in to comment.