Commit 6a6eeb4f authored by 李维's avatar 李维

Test

parent 36ccdee2
...@@ -955,7 +955,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -955,7 +955,7 @@ export class PlayComponent implements OnInit, OnDestroy {
}); });
console.log("totalWidth: ", totalWidth) console.log("totalWidth: ", totalWidth)
let fontSize = 50; let fontSize = 50;
if(totalWidth > this.g_canvasWidth){ if(totalWidth > this.g_canvasWidth-350){
fontSize = 50 * (this.g_canvasWidth / (totalWidth)) * 0.7 fontSize = 50 * (this.g_canvasWidth / (totalWidth)) * 0.7
} }
cardAll.forEach((card, index)=>{ cardAll.forEach((card, index)=>{
......
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