FIRE-30873: Allow trackpad to adjust 3rd axis without mousedown
parent
c997aaea3a
commit
3b6686778c
|
|
@ -472,13 +472,16 @@ bool FSVirtualTrackpad::handleRightMouseDown(S32 x, S32 y, MASK mask)
|
|||
// pass wheel-clicks to third axis
|
||||
bool FSVirtualTrackpad::handleScrollWheel(S32 x, S32 y, S32 clicks)
|
||||
{
|
||||
if (hasMouseCapture())
|
||||
if (hasMouseCapture() || isPointInTouchArea(x, y))
|
||||
{
|
||||
if (_doingPinchMode)
|
||||
_pinchValueZ -= clicks * WheelClickQuanta;
|
||||
else
|
||||
_valueZ -= clicks * WheelClickQuanta;
|
||||
|
||||
if (!hasMouseCapture())
|
||||
onCommit();
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -644,7 +644,7 @@ width="565">
|
|||
top_delta="15"
|
||||
height="153"
|
||||
width="153"
|
||||
tool_tip="Change the rotation of the currently selected body part(s). Hold Ctrl to move slow. Roll the wheel while holding to adjust the 3rd axis"
|
||||
tool_tip="Change the rotation of the currently selected body part(s). Hold Ctrl to move slow. Roll the wheel any time to adjust the 3rd axis"
|
||||
pinch_mode="false"
|
||||
infinite_scroll_mode="true"/>
|
||||
<panel
|
||||
|
|
|
|||
Loading…
Reference in New Issue