This commit is contained in:
Julien Valéry 2018-11-05 06:29:40 +00:00 committed by GitHub
commit 5a9a61beae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();