xushiting 2 lat temu
rodzic
commit
d5beb22edd
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/graphic/Layer.js

+ 2 - 0
src/graphic/Layer.js

@@ -159,6 +159,8 @@ export default class Layer {
             VectorType.Point,
             SelectState.Select
           );
+          this.history.save();
+          this.renderer.autoRedraw();
         } else {
           this.uiControl.prompt({ msg: "请先添加基准点", time: 1000 });
         }