2
0
Эх сурвалжийг харах

fixed removeChildren() with debug=true

ncannasse 6 жил өмнө
parent
commit
8626fd255d
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      h2d/Flow.hx

+ 1 - 1
h2d/Flow.hx

@@ -412,7 +412,7 @@ class Flow extends Object {
 		var k = 0;
 		var k = 0;
 		while( numChildren>k ) {
 		while( numChildren>k ) {
 			var c = getChildAt(k);
 			var c = getChildAt(k);
-			if( c == background || c == interactive ) k++; else removeChild(c);
+			if( c == background || c == interactive || c == debugGraphics ) k++; else removeChild(c);
 		}
 		}
 	}
 	}