From 684603befa0fbde2ee8db704e37a544f9d92d99d Mon Sep 17 00:00:00 2001
From: xuri <xuri.me@gmail.com>
Date: Mon, 6 Sep 2021 00:01:42 +0800
Subject: This closes #993, closes #1014 - Fix formula percentages calculated
 incorrectly - Make UpdateLinkedValue skip macro sheet - Fix conditional
 format bottom N not working

---
 styles.go | 1 +
 1 file changed, 1 insertion(+)

(limited to 'styles.go')

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,
-- 
cgit v1.2.1