Fix undo with line editing (#1717)
This commit is contained in:
parent
c6e73c56fd
commit
476c0e9f8a
@ -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…
x
Reference in New Issue
Block a user