David Catuhe 4 éve
szülő
commit
ad51e9c748

+ 1 - 2
gui/src/2D/advancedDynamicTexture.ts

@@ -891,7 +891,6 @@ export class AdvancedDynamicTexture extends DynamicTexture {
         });
     }
 
-
     /**
      * Serializes the entire GUI system
      * @returns an object with the JSON serialized data
@@ -908,7 +907,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
 
     /**
      * Recreate the content of the ADT from a JSON object
-     * @param serializedObject define the JSON serialized object to restore from 
+     * @param serializedObject define the JSON serialized object to restore from
      */
     public parseContent(serializedObject: any) {
         this._rootContainer = Control.Parse(serializedObject.root, this) as Container;

+ 3 - 3
gui/src/2D/controls/control.ts

@@ -120,7 +120,7 @@ export class Control {
 
     /**
      * Gets or sets an object used to store user defined information for the node
-     */    
+     */
     @serialize()
     public metadata: any = null;
 
@@ -2102,7 +2102,7 @@ export class Control {
      * @param serializedObject defines parsed data
      * @param host defines the hosting AdvancedDynamicTexture
      * @returns a new Control
-     */    
+     */
     public static Parse(serializedObject: any, host: AdvancedDynamicTexture): Control {
         let controlType = Tools.Instantiate("BABYLON.GUI." + serializedObject.className);
         let control = SerializationHelper.Parse(() => new controlType, serializedObject, null);
@@ -2112,7 +2112,7 @@ export class Control {
         control._parseFromContent(serializedObject, host);
 
         return control;
-    }    
+    }
 
     /**
      * Creates a stack panel that can be used to render headers

+ 1 - 1
gui/src/2D/controls/stackPanel.ts

@@ -214,7 +214,7 @@ export class StackPanel extends Container {
     }
 
     /** @hidden */
-    public _parseFromContent(serializedObject: any, host: AdvancedDynamicTexture) {           
+    public _parseFromContent(serializedObject: any, host: AdvancedDynamicTexture) {
         this._manualWidth = serializedObject.manualWidth;
         this._manualHeight = serializedObject.manualHeight;