Fix : fix mouse-wheel javascript error
parent
3ba251f168
commit
e0f48fa3fb
|
@ -1295,7 +1295,7 @@ export const DOMMouseScrollEvent = function (e) {
|
||||||
if (!e.shiftKey) { return; }
|
if (!e.shiftKey) { return; }
|
||||||
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const evt = e.originalEvent;
|
const evt = e;
|
||||||
|
|
||||||
eventContext_.setRootSctm($id('svgcontent').querySelector('g').getScreenCTM().inverse());
|
eventContext_.setRootSctm($id('svgcontent').querySelector('g').getScreenCTM().inverse());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue