Nicolas Cannasse 5 anni fa
parent
commit
958762e883
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      h2d/domkit/BaseComponents.hx

+ 1 - 1
h2d/domkit/BaseComponents.hx

@@ -542,7 +542,7 @@ class BitmapComp extends DrawableComp implements domkit.Component.ComponentDecl<
 
 
 	static function setTilePosY( t : h2d.Tile, y : Int ) {
 	static function setTilePosY( t : h2d.Tile, y : Int ) {
 		if( t == null ) return;
 		if( t == null ) return;
-		t.setPosition(t.iy, y * t.iheight);
+		t.setPosition(t.ix, y * t.iheight);
 	}
 	}
 
 
 	static function set_width( o : h2d.Bitmap, v : Null<Float> ) {
 	static function set_width( o : h2d.Bitmap, v : Null<Float> ) {