Fix inverted table wheel on wayland

The tablet wheel direction matches the mouse wheel which also needed
to be inverted.
This commit is contained in:
Campbell Barton
2024-04-15 11:36:54 +10:00
parent 1e6716a903
commit 1f44a74947

View File

@@ -4673,7 +4673,7 @@ static void tablet_tool_handle_frame(void *data,
}
case GWL_TabletTool_EventTypes::Wheel: {
seat->system->pushEvent_maybe_pending(
new GHOST_EventWheel(event_ms, win, tablet_tool->frame_pending.wheel.clicks));
new GHOST_EventWheel(event_ms, win, -tablet_tool->frame_pending.wheel.clicks));
break;
}
}