فهرست منبع

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();