Skip to content

Commit fb3c590

Browse files
committed
Removing extra #endregion
1 parent b36ad99 commit fb3c590

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Assets/HoloToolkit/Input/Scripts/InputSources/GesturesInput.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -538,8 +538,8 @@ private void UpdateSourceState(InteractionSourceState interactionSource, SourceD
538538
if (!(sourceData.Position.CurrentReading.Equals(newPosition)))
539539
{
540540
// TODO: Raising events here may cause reentrancy complexity. Consider delaying all event-raising till
541-
// after all updates are stored. Alternatively, consider switching from polling to responding to
542-
// InteractionManager events.
541+
// after all updates are stored. Alternatively, consider switching from polling to responding to
542+
// InteractionManager events.
543543
InputManager.Instance.RaiseSourcePositionChanged(this, sourceData.SourceId, newPosition);
544544
}
545545
}
@@ -625,8 +625,6 @@ private void UpdateSourceState(InteractionSourceState interactionSource, SourceD
625625
sourceData.Menu.CurrentReading = (sourceData.Menu.IsAvailable ? interactionSource.menuPressed : false);
626626
}
627627

628-
#endregion
629-
630628
#region Raise GestureRecognizer Events
631629

632630
// TODO: robertes: Should these also cause source state data to be stored/updated? What about SourceDetected synthesized events?

0 commit comments

Comments
 (0)