Преглед на файлове

Fix undo with line editing (#1717)

fujimoto kyosuke преди 5 години
родител
ревизия
476c0e9f8a
променени са 1 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1 3
      src/element/linearElementEditor.ts

+ 1 - 3
src/element/linearElementEditor.ts

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