Modify withSavedContext documentation
This commit is contained in:
parent
5b64dd81db
commit
e428e6818a
@ -105,7 +105,7 @@ planet.onDraw(function() {
|
|||||||
planet.withSavedContext(function(context) {
|
planet.withSavedContext(function(context) {
|
||||||
context.beginPath();
|
context.beginPath();
|
||||||
planet.path.context(context)({type: 'Sphere'});
|
planet.path.context(context)({type: 'Sphere'});
|
||||||
context.fillStyle = config.fill || 'black';
|
context.fillStyle = 'black';
|
||||||
context.fill();
|
context.fill();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user