Procházet zdrojové kódy

correct default alignment

Cubees před 7 roky
rodič
revize
6d330c918b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Playground/js/pbt.js

+ 1 - 1
Playground/js/pbt.js

@@ -78,7 +78,7 @@ var PBT = function() {
         var top = options.top||0;
         var left = options.left||0;
         var verticalAlignment = options.verticalAlignment||BABYLON.GUI.Control.VERTICAL_ALIGNMENT_TOP;
-        var horizontalAlignment = options.horizontalAlignment||BABYLON.GUI.Control.HORIZONTAL_LEFT;
+        var horizontalAlignment = options.horizontalAlignment||BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_LEFT;
         var text = options.text||"Playground Based Tutorial";   
         if(options.useImage === undefined) {
             var useImage = true;