Fix undo with line editing (#1717)

pull/1719/head
fujimoto kyosuke 5 years ago committed by GitHub
parent c6e73c56fd
commit 476c0e9f8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -174,9 +174,7 @@ export class LinearElementEditor {
], ],
}); });
} }
if (appState.editingLinearElement.lastUncommittedPoint !== null) { history.resumeRecording();
history.resumeRecording();
}
setState({ setState({
editingLinearElement: { editingLinearElement: {
...appState.editingLinearElement, ...appState.editingLinearElement,

Loading…
Cancel
Save