Closed malangfox closed 2 years ago
The current implementation is whether or not to use the vertical mouse wheel for scrolling the conveyor. But it is considered more appropriate to support option like "Whether to use the wheel input in a direction different from that of the conveyor".
And for that implementation, it need to handle horizontal mouse wheel in WheelInput of Axes. Will close the PR until Axes supports that feature.
Details
Added
useWheel
to ConveyerOptions. The default value is true.useWheel
decides whether to use the mouse wheel input for same scroll direction.If direction is horizontal and
useWheel
istrue
, the mouse wheel can move the Conveyer horizontally. If direction is horizontal anduseWheel
isfalse
, the Conveyer moves only by drag as same as before.If direction is vertical and
useWheel
istrue
, the Conveyer moves by drag and mouse wheel as same as before. If direction is vertical anduseWheel
isfalse
, the Conveyer moves only by drag.If you want to use it as the same Conveyer as before, set useWheel to
true
for vertical andfalse
for horizontal.