Fix undo with line editing (#1717)

This commit is contained in:
fujimoto kyosuke 2020-06-06 00:11:24 +09:00 committed by GitHub
parent c6e73c56fd
commit 476c0e9f8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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