Commit 8e82c4ce authored by olau@iola.dk's avatar olau@iola.dk

Fix bug with backwards compatibility for shadowSize = 0 (report and suggested fix by aspinak)


git-svn-id: https://flot.googlecode.com/svn/trunk@285 1e0a6537-2640-0410-bfb7-f154510ff394
parent cc031e0a
...@@ -114,6 +114,8 @@ Bug fixes: ...@@ -114,6 +114,8 @@ Bug fixes:
- Fix bug with using aboveData with a background (reported by - Fix bug with using aboveData with a background (reported by
amitayd). amitayd).
- Fix possible excanvas leak (report and suggested fix by tom9729). - 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 Flot 0.6
......
...@@ -281,7 +281,7 @@ ...@@ -281,7 +281,7 @@
$.extend(true, options.series.points, options.points); $.extend(true, options.series.points, options.points);
if (options.bars) if (options.bars)
$.extend(true, options.series.bars, options.bars); $.extend(true, options.series.bars, options.bars);
if (options.shadowSize) if (options.shadowSize != null)
options.series.shadowSize = options.shadowSize; options.series.shadowSize = options.shadowSize;
for (i = 0; i < options.xaxes.length; ++i) for (i = 0; i < options.xaxes.length; ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment