Fix : fix mouse-wheel javascript error

master
Cédric Godefroy 2021-11-22 11:28:44 +01:00
parent 3ba251f168
commit e0f48fa3fb
1 changed files with 1 additions and 1 deletions

View File

@ -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());