pixijs/spine

PIXI Containers seems to be streched on android webviews, works perfectly on iOS

shikhar-0017 opened this issue · 0 comments

Tech: Cordova
"cordova-android": "12.0.0",
"cordova-ios": "6.3.0",

I am initalizing the app like this:
app = new PIXI.Application({ backgroundAlpha: 0, antialias: true, autoDensity: true, resolution: window.devicePixelRatio || 1, });

Adding a parent container to app:
mainContainer = new PIXI.Container(); app.stage.addChild(mainContainer);

Then adding child containers to the parent container
let spineContainer = new PIXI.Container(); spineContainer.width = 200; spineContainer.height = 200; mainContainer.addChild(spineContainer);

But when I resize the app.renderer, the containers get stretched
app.renderer.resize(3500, 1080);

iOS Image (work as expected)
ios

Android image (containers are streched)
android