Przeglądaj źródła

fixed removeChildren() with debug=true

ncannasse 6 lat temu
rodzic
commit
8626fd255d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      h2d/Flow.hx

+ 1 - 1
h2d/Flow.hx

@@ -412,7 +412,7 @@ class Flow extends Object {
 		var k = 0;
 		while( numChildren>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);
 		}
 	}