Skip to content

Commit dcf59b1

Browse files
committed
Remove unnecessary class field
1 parent 0a6a23a commit dcf59b1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

osu.Framework/Graphics/UserInterface/TextBox.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1401,8 +1401,6 @@ private static int findSeparatorIndex(string input, int searchPos, int direction
14011401
return -1;
14021402
}
14031403

1404-
private float tripleClickTime;
1405-
14061404
private bool tripleClickOngoing;
14071405

14081406
protected override bool OnMouseDown(MouseDownEvent e)
@@ -1414,7 +1412,7 @@ protected override bool OnMouseDown(MouseDownEvent e)
14141412

14151413
var lastSelectionBounds = getTextSelectionBounds();
14161414

1417-
tripleClickTime = GetContainingInputManager().AsNonNull().GetButtonEventManagerFor(e.Button).DoubleClickTime;
1415+
var tripleClickTime = GetContainingInputManager().AsNonNull().GetButtonEventManagerFor(e.Button).DoubleClickTime;
14181416

14191417
if (lastDoubleClickTime != null && Time.Current - lastDoubleClickTime < tripleClickTime)
14201418
{

0 commit comments

Comments
 (0)