summaryrefslogtreecommitdiff
path: root/styles.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-09-06 00:01:42 +0800
committerxuri <xuri.me@gmail.com>2021-09-06 00:01:42 +0800
commit684603befa0fbde2ee8db704e37a544f9d92d99d (patch)
tree1b9318e7e008b78de5bb2b9342abd6290f67e408 /styles.go
parent32b23ef42d3ecb393e102c5f63ab5125db354435 (diff)
This closes #993, closes #1014
- Fix formula percentages calculated incorrectly - Make UpdateLinkedValue skip macro sheet - Fix conditional format bottom N not working
Diffstat (limited to 'styles.go')
-rw-r--r--styles.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/styles.go b/styles.go
index 31fa7fb..e4f3a27 100644
--- a/styles.go
+++ b/styles.go
@@ -3011,6 +3011,7 @@ func drawCondFmtCellIs(p int, ct string, format *formatConditional) *xlsxCfRule
func drawCondFmtTop10(p int, ct string, format *formatConditional) *xlsxCfRule {
c := &xlsxCfRule{
Priority: p + 1,
+ Bottom: format.Type == "bottom",
Type: validType[format.Type],
Rank: 10,
DxfID: &format.Format,