Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

fixed:某些极限情况下合并单元格的列宽计算错误 #1054

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

monkeyshuang
Copy link
Contributor

@monkeyshuang monkeyshuang commented Jun 14, 2022

文档中描述 cell.mc.cs 为 合并单元格占的列数

原代码使用 mc.c !== mc.cs 意为 开始列不等于合并列数?

在实际使用中遇到了,第3列刚好合并了3列,跳过了这个if,导致列宽计算出来依然是第3列的列宽

应当是合并列数为1的时候 ( 即只合并了行,没有合并列 )跳过

@dream-num dream-num merged commit 7eee44a into dream-num:master Jun 16, 2022
@dream-num
Copy link
Collaborator

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants