Explorar o código

Merge pull request #3224 from BabylonJSGuide/tutorials

correct slider header
Raanan Weber %!s(int64=7) %!d(string=hai) anos
pai
achega
80f787353f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Playground/js/pbt.js

+ 1 - 1
Playground/js/pbt.js

@@ -417,7 +417,7 @@ var PBT = function() {
             parent.addControl(header);  
 
             button.onValueChangedObservable.add(function(value) {
-                header.text = "Y-rotation: " + onValueChange(value) + " " + unit;
+                header.text = text + onValueChange(value) + " " + unit;
                 func(value);
             });
             parent.addControl(button);