mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-05 06:26:50 +00:00
round frequency to 100Hz when clicking waterfall
This commit is contained in:
parent
d609acc6aa
commit
5a45ff3171
1 changed files with 1 additions and 1 deletions
|
|
@ -545,7 +545,7 @@ function canvas_mouseup(evt) {
|
|||
var relativeX = get_relative_x(evt);
|
||||
|
||||
if (!canvas_drag) {
|
||||
$('#openwebrx-panel-receiver').demodulatorPanel().getDemodulator().set_offset_frequency(canvas_get_freq_offset(relativeX));
|
||||
$('#openwebrx-panel-receiver').demodulatorPanel().getDemodulator().set_offset_frequency(Math.round(canvas_get_freq_offset(relativeX)/100)*100);
|
||||
}
|
||||
else {
|
||||
canvas_end_drag();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue