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