From 99afa10c1f7c24732ce2da927860f8c139376263 Mon Sep 17 00:00:00 2001 From: TerraMaster85 Date: Sat, 17 May 2025 22:15:56 -0400 Subject: [PATCH] nexrad default palette to rgba --- crates/tiler/src/nexrad.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/tiler/src/nexrad.rs b/crates/tiler/src/nexrad.rs index 70ed230..8f60888 100644 --- a/crates/tiler/src/nexrad.rs +++ b/crates/tiler/src/nexrad.rs @@ -342,11 +342,7 @@ fn colorize( color.red, color.green, color.blue, - if color.red == 0 && color.green == 0 && color.blue == 0 { - 0 - } else { - 255 - }, + color.alpha, ]) } None => Rgba([0, 0, 0, 30]),