Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Fix doubleclick
Browse files Browse the repository at this point in the history
  • Loading branch information
Saticmotion committed Jan 24, 2018
1 parent 649a313 commit 5a01b77
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Assets/Scripts/UIScripts/FilePanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,11 @@ void Update ()
}

SetIndex(i);

lastClickIndex = i;
lastClickDelta = 0;
}

lastClickDelta += Time.deltaTime;
}
lastClickDelta += Time.deltaTime;
}

public void NewStart()
Expand Down

0 comments on commit 5a01b77

Please sign in to comment.