Commit 260bdaa3 authored by 李维's avatar 李维

dev commit

parent c2ae8507
......@@ -556,7 +556,7 @@ export class PlayComponent implements OnInit, OnDestroy {
}else{
let imageContent = new MySprite()
imageContent.init(this.g_cartoon.images.get(data.image_url?data.image_url:"_noImage"))
imageContent.setScaleXY(Math.min( 120/imageContent.width, 120/imageContent.height ))
imageContent.setScaleXY(Math.min( 110/imageContent.width, 110/imageContent.height ))
cardContent.ref.addChild(imageContent)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment