Skip to content

Commit 7e84c1d

Browse files
committed
Explicitly clear the path fill when coloring as partially/all in
#4
1 parent 945454e commit 7e84c1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js/components/countyMap/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ export default class CountyMap extends Component {
173173
path.style.fill = "#e1e1e1";
174174
incomplete = true;
175175
} else {
176+
path.style.fill = '';
176177
var [candidate] = this.legendCands.filter(c => isSameCandidate(c, top));
177178
if (candidate.special) path.classList.add(`i${candidate.special}`);
178179
path.classList.add(getParty(top.party));

0 commit comments

Comments
 (0)