Skip to content

Commit 724dcec

Browse files
Merge pull request #821 from xiaoxustudio/change/line-height-globalVariable
change: rename to Line_height
2 parents 098eafc + 41b0ec5 commit 724dcec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/webgal/src/Stage/TextBox/IMSSTextbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export default function IMSSTextbox(props: ITextboxProps) {
189189

190190
const userDataState = useSelector((state: RootState) => state.userData);
191191
const lineHeightValue = textSizeState === textSize.medium ? 2.2 : 2;
192-
const textLineHeight = userDataState.globalGameVar.LineHeight;
192+
const textLineHeight = userDataState.globalGameVar.Line_height;
193193
const finalTextLineHeight = textLineHeight ? Number(textLineHeight) : lineHeightValue;
194194
const lineHeightCssStr = `line-height: ${finalTextLineHeight}em`;
195195
const lhCss = css(lineHeightCssStr);

0 commit comments

Comments
 (0)