Cubees 7 lat temu
rodzic
commit
86a0ca5fc4
1 zmienionych plików z 1 dodań i 1 usunięć
  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);