Merge 8dd819ddb2 into 838bf92265
This commit is contained in:
commit
5a9a61beae
@ -48,6 +48,12 @@
|
||||
context.beginPath();
|
||||
planet.path.context(context)(land);
|
||||
|
||||
if (config.shadow) {
|
||||
context.shadowOffsetX = config.shadow.shadowOffsetX || 1;
|
||||
context.shadowOffsetY = config.shadow.shadowOffsetY || 1;
|
||||
context.shadowColor = config.shadow.shadowColor || 'white';
|
||||
}
|
||||
|
||||
if (config.fill !== false) {
|
||||
context.fillStyle = config.fill || 'white';
|
||||
context.fill();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user