Skip to content

Commit 47d4e72

Browse files
committed
Fixed wrong indents.
1 parent 307ba6c commit 47d4e72

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

  • Source/Assets/TouchScript/Scripts/InputSources/InputHandlers

Source/Assets/TouchScript/Scripts/InputSources/InputHandlers/MouseHandler.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -217,15 +217,15 @@ public bool UpdateInput()
217217
break;
218218
case State.StationaryFake:
219219
if (buttons != newButtons) updateButtons(buttons, newButtons);
220-
if ((newButtons & Pointer.PointerButtonState.AnyButtonPressed) != 0)
221-
{
222-
if (Input.GetKey(KeyCode.LeftControl) && mousePointPos != pos)
223-
{
224-
fakeMousePointer.Position += (remappedPos - mousePointer.Position);
225-
updatePointer(fakeMousePointer);
226-
}
227-
}
228-
if (fakeTouchReleased())
220+
if ((newButtons & Pointer.PointerButtonState.AnyButtonPressed) != 0)
221+
{
222+
if (Input.GetKey(KeyCode.LeftControl) && mousePointPos != pos)
223+
{
224+
fakeMousePointer.Position += (remappedPos - mousePointer.Position);
225+
updatePointer(fakeMousePointer);
226+
}
227+
}
228+
if (fakeTouchReleased())
229229
{
230230
stateMouse();
231231
}

0 commit comments

Comments
 (0)