fix scroll events on the frequency bar
This commit is contained in:
parent
6f0a209a38
commit
c87daaabbe
@ -1116,8 +1116,9 @@ function init_canvas_container() {
|
|||||||
canvas_container.addEventListener("mouseup", canvas_mouseup, false);
|
canvas_container.addEventListener("mouseup", canvas_mouseup, false);
|
||||||
canvas_container.addEventListener("mousedown", canvas_mousedown, false);
|
canvas_container.addEventListener("mousedown", canvas_mousedown, false);
|
||||||
canvas_container.addEventListener("wheel", canvas_mousewheel, false);
|
canvas_container.addEventListener("wheel", canvas_mousewheel, false);
|
||||||
var frequency_container = $("#openwebrx-frequency-container");
|
$("#openwebrx-frequency-container").each(function(){
|
||||||
frequency_container.on("wheel", canvas_mousewheel, false);
|
this.addEventListener("wheel", canvas_mousewheel, false);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
canvas_maxshift = 0;
|
canvas_maxshift = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user