Cubees 7 anni fa
parent
commit
86a0ca5fc4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);