NCalu / NCneticNpp

Gcode CNC backplot/simulation plugin for Notepad++
https://ncnetic.com/notepad-gcode-plugin
Apache License 2.0
53 stars 8 forks source link

Zoom direction is Flipped #3

Closed ASHIT-AXAR closed 10 months ago

NCalu commented 10 months ago

Hi,

You can invert the wheel zoom direction by inverting the wheel delta in NCeticNpp\Forms\Viewform.cs

glControl.MouseWheel += new MouseEventHandler((s, ea) => { view.WheelZoom(ea.X, ea.Y, -ea.Delta); });