Просмотр исходного кода

clone IBounds returns IBounds (#292)

instead of Bounds
Mark Knol 8 лет назад
Родитель
Сommit
97dc3ed3fc
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      h2d/col/IBounds.hx

+ 2 - 2
h2d/col/IBounds.hx

@@ -152,7 +152,7 @@ class IBounds {
 	}
 
 	public inline function clone() {
-		var b = new Bounds();
+		var b = new IBounds();
 		b.xMin = xMin;
 		b.yMin = yMin;
 		b.xMax = xMax;
@@ -216,4 +216,4 @@ class IBounds {
 		return b;
 	}
 
-}
+}