nexrad default palette to rgba
This commit is contained in:
parent
3b552bd890
commit
99afa10c1f
1 changed files with 1 additions and 5 deletions
|
@ -342,11 +342,7 @@ fn colorize(
|
||||||
color.red,
|
color.red,
|
||||||
color.green,
|
color.green,
|
||||||
color.blue,
|
color.blue,
|
||||||
if color.red == 0 && color.green == 0 && color.blue == 0 {
|
color.alpha,
|
||||||
0
|
|
||||||
} else {
|
|
||||||
255
|
|
||||||
},
|
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
None => Rgba([0, 0, 0, 30]),
|
None => Rgba([0, 0, 0, 30]),
|
||||||
|
|
Loading…
Add table
Reference in a new issue