From 6f52c2dd2c8087e59ae4f91dd1144d68322772d9 Mon Sep 17 00:00:00 2001 From: ha7ilm Date: Sun, 7 Aug 2016 19:27:46 +0200 Subject: [PATCH] Grey background for Mathbox --- htdocs/openwebrx.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 3c84bb9..3c2c105 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -1921,7 +1921,7 @@ function mathbox_init() }); three = mathbox.three; - three.renderer.setClearColor(new THREE.Color(0xFFFFFF), 1.0); + three.renderer.setClearColor(new THREE.Color(0x808080), 1.0); mathbox_container.appendChild((mathbox_element=three.renderer.domElement)); view = mathbox .set({ @@ -1940,14 +1940,17 @@ function mathbox_init() view.axis({ axis: 1, width: 3, + color: "#fff", }); view.axis({ axis: 2, width: 3, + color: "#fff", }); view.axis({ axis: 3, width: 3, + color: "#fff", }); view.grid({ @@ -1955,6 +1958,7 @@ function mathbox_init() opacity: 0.5, axes: [1, 3], zOrder: 1, + color: "#fff", }); var remap = function (v) { return Math.sqrt(.5 + .5 * v); };