summaryrefslogtreecommitdiff
path: root/styles.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-10-11 00:15:04 +0800
committerxuri <xuri.me@gmail.com>2020-10-11 00:15:04 +0800
commitd1926675f81fcf9afb658e1e51cd4e43d0d05bc9 (patch)
treea5d53c0423421730593ba070c932484057d162fd /styles.go
parent93160287bb7fa6479c73ee031b5ed771972a17a8 (diff)
- Resolve #627, improve multi-series line chart compatibility with KingSoft WPS
- Avoid to create duplicate style - Update unit test for the auto filter - Init code scanning alerts
Diffstat (limited to 'styles.go')
-rw-r--r--styles.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/styles.go b/styles.go
index d4d0468..896eaa1 100644
--- a/styles.go
+++ b/styles.go
@@ -2063,7 +2063,7 @@ var getXfIDFuncs = map[string]func(int, xlsxXf, *Style) bool{
if style.Alignment == nil {
return xf.ApplyAlignment == nil || *xf.ApplyAlignment == false
}
- return reflect.DeepEqual(xf.Alignment, newAlignment(style)) && xf.ApplyBorder != nil && *xf.ApplyBorder == true
+ return reflect.DeepEqual(xf.Alignment, newAlignment(style))
},
"protection": func(ID int, xf xlsxXf, style *Style) bool {
if style.Protection == nil {