diff --git a/WebPageHtml.pas b/WebPageHtml.pas index 6eaaecb..c1fd882 100644 --- a/WebPageHtml.pas +++ b/WebPageHtml.pas @@ -459,7 +459,7 @@ begin 'if(!bins?.length){drawMk(sctx,w,h);return;}' + 'if(specSm.length!==bins.length)specSm=new Array(bins.length).fill(-130);' + 'const avf=activeVfoHz();const[fl,fh]=fltLH(),x1=hzToX(avf+fl,w),x2=hzToX(avf+fh,w);' + - 'sctx.fillStyle="rgba(80,150,255,.12)";sctx.fillRect(Math.min(x1,x2),0,Math.abs(x2-x1),h);' + + 'sctx.fillStyle=(cur.transmitting||cur.tuning)?"rgba(255,60,60,.18)":"rgba(80,150,255,.12)";sctx.fillRect(Math.min(x1,x2),0,Math.abs(x2-x1),h);' + 'sctx.beginPath();for(let x=0;x