The code below works flawless on my Dell Windows10 computer. I can use my mouse roller wheel or the mouse pad with no issues. The problem is with the techs laptops that I'm training, they use a Windows10 Dell rugged laptop and they don't use a mouse. Any ideas on why the mouse pad will not work on those laptops? Mouse pad will zoom in other programs our techs use.
Thanks in advance.
function zoomSchematic(e){
e.preventDefault();
switch(e.detail>0) {
case true:
if(scaleUp > .5 ){
scaleUp = scaleUp - .1;
TweenMax.to(schematic, .5, {scaleX:scaleUp, scaleY:scaleUp, transformOrigin: "50% 50%", ease: Power0.easeNone});
}
break;
case false:
scaleUp = scaleUp + .1;
TweenMax.to(schematic, .5, {scaleX:scaleUp, scaleY:scaleUp, transformOrigin: "50% 50%", ease: Power0.easeNone});
break;
}
}