fixed: top freq. display did not change if you changed offset_freq by clicking on a canvas instead of dragging the filter envelope

This commit is contained in:
ha7ilm 2014-12-21 23:38:45 +01:00
parent cd3ff41005
commit f388e80624

View File

@ -867,8 +867,8 @@ function canvas_mouseup(evt)
if(!canvas_drag)
{
//ws.send("SET offset_freq="+canvas_get_freq_offset(relativeX).toString());
//e("webrx-actual-freq").innerHTML=format_frequency("{x} MHz",canvas_get_frequency(relativeX),1e6,4);
demodulator_set_offset_frequency(0, canvas_get_freq_offset(relativeX));
demodulator_set_offset_frequency(0, canvas_get_freq_offset(relativeX));
e("webrx-actual-freq").innerHTML=format_frequency("{x} MHz",canvas_get_frequency(relativeX),1e6,4);
}
else
{