We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 098eafc + 41b0ec5 commit 724dcecCopy full SHA for 724dcec
1 file changed
packages/webgal/src/Stage/TextBox/IMSSTextbox.tsx
@@ -189,7 +189,7 @@ export default function IMSSTextbox(props: ITextboxProps) {
189
190
const userDataState = useSelector((state: RootState) => state.userData);
191
const lineHeightValue = textSizeState === textSize.medium ? 2.2 : 2;
192
- const textLineHeight = userDataState.globalGameVar.LineHeight;
+ const textLineHeight = userDataState.globalGameVar.Line_height;
193
const finalTextLineHeight = textLineHeight ? Number(textLineHeight) : lineHeightValue;
194
const lineHeightCssStr = `line-height: ${finalTextLineHeight}em`;
195
const lhCss = css(lineHeightCssStr);
0 commit comments