From 71ea1995dd88d13afffafc38ec1d62a7b094e8aa Mon Sep 17 00:00:00 2001 From: Florian Rival Date: Thu, 7 Aug 2025 18:43:31 +0200 Subject: [PATCH] Fix flow --- newIDE/app/src/ObjectEditor/Editors/TextEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newIDE/app/src/ObjectEditor/Editors/TextEditor.js b/newIDE/app/src/ObjectEditor/Editors/TextEditor.js index eecea2a426..665f8f6e21 100644 --- a/newIDE/app/src/ObjectEditor/Editors/TextEditor.js +++ b/newIDE/app/src/ObjectEditor/Editors/TextEditor.js @@ -225,7 +225,7 @@ export default class TextEditor extends React.Component { fullWidth value={textObjectConfiguration.getLineHeight()} onChange={value => { - textObjectConfiguration.setLineHeight(parseFloat(value, 10) || 0); + textObjectConfiguration.setLineHeight(parseFloat(value) || 0); this.forceUpdate(); }} />