Basic deploy background
@@ -36,7 +36,7 @@ public class TextureRegionDrawable extends BaseDrawable implements TransformDraw
@Override
public void draw(float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation){
Draw.color(Tmp.c1.set(tint).mul(Draw.getColor()).toFloatBits());
- Draw.rect(region, x + width/2f, y + height/2f, width, height, originX, originY, rotation);
+ Draw.rect(region, x + width/2f, y + height/2f, width * scaleX, height * scaleY, originX, originY, rotation);
}
public TextureRegion getRegion(){
