This commit is contained in:
Florian Rival
2025-08-07 18:43:31 +02:00
parent d7248cb48e
commit 71ea1995dd

View File

@@ -225,7 +225,7 @@ export default class TextEditor extends React.Component<EditorProps, void> {
fullWidth
value={textObjectConfiguration.getLineHeight()}
onChange={value => {
textObjectConfiguration.setLineHeight(parseFloat(value, 10) || 0);
textObjectConfiguration.setLineHeight(parseFloat(value) || 0);
this.forceUpdate();
}}
/>