|
@@ -689,7 +689,7 @@ export function resume() {
|
689
|
689
|
area.mouseup(event => dispatch(mouseClicked(EVENTS.mouseup, event)));
|
690
|
690
|
area.dblclick(event => dispatch(mouseClicked(EVENTS.mousedblclick, event)));
|
691
|
691
|
area.contextmenu(() => false);
|
692
|
|
- area[0].onmousewheel = event => {
|
|
692
|
+ area[0].onwheel = event => {
|
693
|
693
|
event.preventDefault();
|
694
|
694
|
event.stopPropagation();
|
695
|
695
|
dispatch(mouseScrolled(event));
|
|
@@ -739,7 +739,7 @@ export function pause() {
|
739
|
739
|
area.off('mousedown');
|
740
|
740
|
area.off('mousemove');
|
741
|
741
|
area.off('mouseup');
|
742
|
|
- area[0].onmousewheel = undefined;
|
|
742
|
+ area[0].onwheel = undefined;
|
743
|
743
|
}
|
744
|
744
|
|
745
|
745
|
$(window).off('keydown');
|