projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f882d0
)
Add some missing context.restore() calls
author
Dan Vanderkam
<dan@dygraphs.com>
Thu, 8 Mar 2012 17:39:48 +0000
(12:39 -0500)
committer
Dan Vanderkam
<dan@dygraphs.com>
Thu, 8 Mar 2012 17:39:48 +0000
(12:39 -0500)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
6e15a58
..
03bc5e3
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-186,6
+186,7
@@
DygraphCanvasRenderer.prototype.render = function() {
ctx.closePath();
ctx.stroke();
}
+ ctx.restore();
}
if (this.attr_('drawXGrid')) {
@@
-202,6
+203,7
@@
DygraphCanvasRenderer.prototype.render = function() {
ctx.closePath();
ctx.stroke();
}
+ ctx.restore();
}
// Do the ordinary rendering, as before