소스 검색

currect onValueChange doc error

Guide 7 년 전
부모
커밋
36a658340c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gui/src/2D/controls/selector.ts

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

@@ -219,7 +219,7 @@ export class SliderGroup extends SelectorGroup{
      * @param min is the minimum value for the Slider
      * @param max is the maximum value for the Slider
      * @param value is the start value for the Slider between min and max
-     * @param onVal is the function used to format the value displayed, eg radians to degrees
+     * @param onValueChange is the function used to format the value displayed, eg radians to degrees
      */
     public addSlider(label: string, func = (v:number) => {}, unit: string = "Units", min: number = 0, max: number = 0, value: number = 0, onValueChange = (v:number)=>{return v | 0}): void {
         var button = new Slider();