浏览代码

Further missing comments added

Guide 7 年之前
父节点
当前提交
7eab3814c7
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      gui/src/2D/controls/selector.ts

+ 5 - 2
gui/src/2D/controls/selector.ts

@@ -34,11 +34,12 @@ export class SelectorGroup {
         this._addGroupHeader(name);
     }
 
-    /** Gets or sets group stackPanel */
+    /** Gets the groupPanel of the SelectorGroup  */
     public get group(): StackPanel {
         return this._groupPanel;
     }
 
+    /** Gets the selectors array */
     public get selectors(): StackPanel[] {
         return this._selectors;
     }
@@ -79,7 +80,9 @@ export class SelectorGroup {
         this._addSldr(label, func, unit, min, max, value, onVal)
     };
 
-    /** removes the selector/slider at the given position */
+    /** removes the selector/slider at the given position 
+     * @param selectorNb the position of the selector within the group
+    */
     public removeSelector(selectorNb: number) {
         if(selectorNb < 0) {
             return;