Fix selected text widths

Fixes #576
This commit is contained in:
Jordan Eldredge 2018-05-15 17:04:02 -07:00
parent a08f792966
commit ceb4eeaf2f

View file

@ -96,8 +96,7 @@ const Skin = props => {
if (skinGenLetterWidths != null) {
LETTERS.forEach(letter => {
const width = skinGenLetterWidths[`GEN_TEXT_${letter}`];
const selectedWidth =
skinGenLetterWidths[`GEN_LETTER_SELECTED_${letter}`];
const selectedWidth = skinGenLetterWidths[`GEN_TEXT_SELECTED_${letter}`];
cssRules.push(
`${CSS_PREFIX} .gen-text-${letter.toLowerCase()} {width: ${width}px;}`
);