Adjust precision for context menu showing on curve/keyframes

This commit is contained in:
Wojtek Figat
2021-09-01 14:42:31 +02:00
parent 0d5fa3e125
commit 75cc7cbc4e
2 changed files with 2 additions and 2 deletions

View File

@@ -443,7 +443,7 @@ namespace FlaxEditor.GUI
Cursor = CursorType.Default;
// Check if no move has been made at all
if (Vector2.Distance(ref location, ref _rightMouseDownPos) < 3.0f)
if (Vector2.Distance(ref location, ref _rightMouseDownPos) < 2.0f)
{
var selectionCount = _editor.SelectionCount;
var point = GetChildAt(location) as KeyframePoint;