Make GCMouse scroll direction consistent with UIPanGestureRecognizer
This commit is contained in:
parent
283a5516d8
commit
90d416ab34
1 changed files with 1 additions and 1 deletions
|
|
@ -439,7 +439,7 @@ static const double MOUSE_SPEED_DIVISOR = 2.5;
|
|||
// GCMouse for mice, so we will have to just use it and hope for the best.
|
||||
#if TARGET_OS_TV
|
||||
mouse.mouseInput.scroll.yAxis.valueChangedHandler = ^(GCControllerAxisInput * _Nonnull axis, float value) {
|
||||
self->accumulatedScrollY += -value;
|
||||
self->accumulatedScrollY += value;
|
||||
|
||||
short truncatedScrollY = (short)self->accumulatedScrollY;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue