Commit 7c4d590c authored by 李维's avatar 李维

Add log

parent c80641de
......@@ -936,6 +936,8 @@ export class PlayComponent implements OnInit, OnDestroy {
}
initCard_down(){
console.log("==================")
console.log("initCard_down")
let table = this.g_cartoon.getCartoonElement("table")
let cardAll = []
this.g_formData.textDown.forEach(item => {
......@@ -951,6 +953,7 @@ export class PlayComponent implements OnInit, OnDestroy {
let bd = element.getBoundingBox()
totalWidth += (bd.width) + spaceing
});
console.log("totalWidth: ", totalWidth)
let fontSize = 50;
if(totalWidth > 1920){
fontSize = 50 * (1920 / (totalWidth)) * 0.7
......
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