From 8dc6675b28734b56967e631e335a342406fa5ee3 Mon Sep 17 00:00:00 2001 From: ha7ilm Date: Thu, 11 Aug 2016 22:03:29 +0200 Subject: [PATCH] No more disappearing spikes due to nearest-neightbour interpolation --- htdocs/openwebrx.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 8614740..8cee7ca 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -2042,7 +2042,7 @@ function mathbox_init() emit(x, y, z+remapResult.zAdd); }, width: 128, - height: mathbox_data_max_depth, + height: mathbox_data_max_depth - 1, channels: 3, axes: [1, 3], }); @@ -2058,7 +2058,7 @@ function mathbox_init() emit(r, g, b, 1.0); }, width: 128, - height: mathbox_data_max_depth, + height: mathbox_data_max_depth - 1, channels: 4, axes: [1, 3], });