Skip to content

Commit d65fb4a

Browse files
committed
Prevent null error (#468)
1 parent 746f0bd commit d65fb4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

www/googlemaps-cdv-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2015,7 +2015,7 @@ function HTMLColor2RGBA(colorStr, defaultOpacity) {
20152015
return rgb;
20162016
}
20172017

2018-
return null;
2018+
return [0, 0, 0, defaultOpacity];
20192019
}
20202020

20212021
/**

0 commit comments

Comments
 (0)