瀏覽代碼

Update 'src/app/core/application/selector.js'

Fixes to read GEO file with midpoint.
Changed comments.
leo 2 年之前
父節點
當前提交
4a218581dc
共有 1 個文件被更改,包括 14 次插入1 次删除
  1. 14 1
      src/app/core/application/selector.js

+ 14 - 1
src/app/core/application/selector.js

@@ -1,3 +1,16 @@
+/*
+ * iGeom by LInE
+ * Free software to student private data
+ *
+ * http://www.matematica.br/igeom
+ * http://www.usp.br/line
+ *
+ * Take care of mouse event "selecting area"
+ *
+ * ./app/core/application/selector.js
+ * @version 2023/07/14: Added comments
+ */
+
 import { APP_STATE } from "../enums/app-state-enum";
 import { stageManager as Stages } from "./stage-manager";
 import { state as State } from "../application/state";
@@ -71,7 +84,7 @@ export class Selector {
     return objects.map(x => x.genericObject);
     }
 
-  // Check if objets inside "selectable" rectable is "selectable"
+  // Check if objets inside "selectable" rectangle is "selectable"
   getSelectedPointsAggregators () { // accept only points
     const objects = this.getSelectedAggregators().filter(
       x =>