Making map squares fully transparent when disabled.

This commit is contained in:
Marat Fayzullin 2023-04-01 10:55:54 -04:00
parent 3ad2d22f96
commit 4ed3fea080
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ $(function(){
var colorKeys = {};
var colorScale = chroma.scale(['red', 'blue', 'green']).mode('hsl');
var getColor = function(id){
if (!id) return "#ffffff10";
if (!id) return "#ffffff00";
if (!colorKeys[id]) {
var keys = Object.keys(colorKeys);
keys.push(id);