mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 17:00:36 +08:00
FIX: invert touchpad move direction
Change-Id: Ic6be977828a1c82a56205c06d4ab63c05241a090
This commit is contained in:
parent
396918f21f
commit
0ac982b8c2
@ -162,7 +162,7 @@ wxEvtHandler * _gestureHandler = nullptr;
|
||||
{
|
||||
if (_gestureHandler && event.hasPreciseScrollingDeltas) {
|
||||
wxPanGestureEvent evt;
|
||||
evt.SetDelta({(int)[event scrollingDeltaX], -(int)[event scrollingDeltaY]});
|
||||
evt.SetDelta({-(int)[event scrollingDeltaX], (int)[event scrollingDeltaY]});
|
||||
_gestureHandler->ProcessEvent(evt);
|
||||
} else {
|
||||
[self scrollWheel2: event];
|
||||
|
Loading…
x
Reference in New Issue
Block a user