Explorar o código

currect onValueChange doc error

Guide %!s(int64=7) %!d(string=hai) anos
pai
achega
36a658340c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();