Commit f1337dc5 authored by 李维's avatar 李维

dec commit

parent ad449b74
......@@ -538,8 +538,8 @@ export class PlayComponent implements OnInit, OnDestroy {
let textContent = this.g_cartoon.createLabel("", null, null, 20)
let imageContent = this.g_cartoon.createImage("Image-05", (w,h)=>{
let sx = 170 / w;
let sy = 170 / h;
let sx = 165 / w;
let sy = 165 / h;
return {
sx: Math.min(sx,sy),
sy: Math.min(sx,sy)
......@@ -557,8 +557,8 @@ export class PlayComponent implements OnInit, OnDestroy {
element.setContent = (data)=>{
if(data.type=="Image"){
element.imageContent = this.g_cartoon.createImage(data.image_url, (w,h)=>{
let sx = 170 / w;
let sy = 170 / h;
let sx = 165 / w;
let sy = 165 / h;
return {
sx: Math.min(sx,sy),
sy: Math.min(sx,sy)
......
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