Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Created Unassigned: _themeTint default value must be 0 instead of 1 [9336]

$
0
0
Hi,

In the class XLColor_Internal.cs on line 53, _themeTint is currently initialized with the value 1.
However, the default value should be 0, hence:
___themeTint = 0;__

_themeTint will receive a value between -1 and 1:
"1.0 means 100% lighten. Also, _0.0 means no change_."
http://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.tabcolor.aspx


I do see some checks on ThemeTint != 1 throughout the code which I belief are not required if the initialization of _themeTint is fixed.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>