Royi Bernthal пре 7 година
родитељ
комит
ac7520920b
2 измењених фајлова са 1 додато и 8 уклоњено
  1. 1 1
      gui/src/controls/multiLine.ts
  2. 0 7
      gui/src/multiLinePoint.ts

+ 1 - 1
gui/src/controls/multiLine.ts

@@ -49,7 +49,7 @@ module BABYLON.GUI {
             this._markAsDirty();
         }
 
-        add(...items: (AbstractMesh | Control | IValueAndUnitVector2)[]): void {
+        add(...items: (AbstractMesh | Control | { x: string | number, y: string | number })[]): void {
             items.forEach(item => {
                 var point: MultiLinePoint = this.push();
 

+ 0 - 7
gui/src/multiLinePoint.ts

@@ -129,11 +129,4 @@ module BABYLON.GUI {
 
     }
 
-    export interface IValueAndUnitVector2 {
-
-        x: string | number;
-        y: string | number;
-
-    }
-
 }