Browse Source
Merge pull request #596 from flowerField/master
解决从其他表格拷贝粘贴后字体计算问题
master
文顶顶
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
src/controllers/handler.js
|
|
|
@ -5452,8 +5452,7 @@ export default function luckysheetHandler() { |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
let fs = Math.floor(parseInt($td.css("font-size")) * 72 / 96) + 1; |
|
|
|
let fs = Math.round(parseInt($td.css("font-size")) * 72 / 96); |
|
|
|
cell.fs = fs; |
|
|
|
|
|
|
|
let fc = $td.css("color"); |
|
|
|
|