diff --git a/NEWS.txt b/NEWS.txt index 5c732fe..e051c42 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -114,6 +114,8 @@ Bug fixes: - Fix bug with using aboveData with a background (reported by amitayd). - Fix possible excanvas leak (report and suggested fix by tom9729). +- Fix bug with backwards compatibility for shadowSize = 0 (report and + suggested fix by aspinak). Flot 0.6 diff --git a/jquery.flot.js b/jquery.flot.js index 755efcf..6ff15a9 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -281,7 +281,7 @@ $.extend(true, options.series.points, options.points); if (options.bars) $.extend(true, options.series.bars, options.bars); - if (options.shadowSize) + if (options.shadowSize != null) options.series.shadowSize = options.shadowSize; for (i = 0; i < options.xaxes.length; ++i)